Documentation
¶
Index ¶
- type APIError
- type Client
- func (c *Client) BuildURL(path string, params url.Values) string
- func (c *Client) Delete(ctx context.Context, path string) error
- func (c *Client) DownloadFile(ctx context.Context, path, outputPath string) error
- func (c *Client) Get(ctx context.Context, path string, result interface{}) error
- func (c *Client) Patch(ctx context.Context, path string, body interface{}, result interface{}) error
- func (c *Client) Post(ctx context.Context, path string, body interface{}, result interface{}) error
- func (c *Client) Put(ctx context.Context, path string, body interface{}, result interface{}) error
- func (c *Client) UploadFile(ctx context.Context, path, filePath string, result interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
func (*APIError) GetExitCode ¶
Click to show internal directories.
Click to hide internal directories.