Skip to content
This repository was archived by the owner on Apr 8, 2019. It is now read-only.
This repository was archived by the owner on Apr 8, 2019. It is now read-only.

Client, Request, Response #2

Open
@at15

Description

@at15

We need to design a standard struct/interface for client, request, response to use across all the operations, schema changes, updating documents etc. It is possible we do the converting directly and user don't need to call json.Unmarshal directly

TODO

  • checkResponse does not work for certain APIs because
    • they don't use status code to indicate error
    • 404 returns html page
    • schema management has its own error response format

Ref

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions