Documentation ¶
Index ¶
- func WithDebug(debug bool) func(*Client)
- type Client
- func (c *Client) Do(r *http.Request) (*http.Response, error)
- func (c *Client) Get(endpoint string) (*http.Response, error)
- func (c *Client) Post(endpoint string, request interface{}, response interface{}) error
- func (c *Client) Send(method string, endpoint string, contentType string, body io.Reader) ([]byte, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.