Documentation
¶
Index ¶
- Constants
- type BaseResponse
- type Request
- type Requester
- func (Requester) CheckErrorResponse(statusCode int, responseCode json.Number) error
- func (r Requester) Get(ctx context.Context, body Request, method string, response interface{}) (int, error)
- func (r Requester) Post(ctx context.Context, body Request, method string, response interface{}) (int, error)
Constants ¶
View Source
const ( V1 = "exchange/v1/" V2 = "v2/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
Click to show internal directories.
Click to hide internal directories.