Documentation
¶
Overview ¶
Package api provides the HTTP client for the weside.ai REST API.
Index ¶
- type Client
- func (c *Client) Delete(ctx context.Context, path string, result any) error
- func (c *Client) DoRaw(ctx context.Context, method, path string, body any) (*http.Response, error)
- func (c *Client) Get(ctx context.Context, path string, result any) error
- func (c *Client) Patch(ctx context.Context, path string, body, result any) error
- func (c *Client) Post(ctx context.Context, path string, body, result any) error
- func (c *Client) Put(ctx context.Context, path string, body, result any) error
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the HTTP client for the weside API.
Click to show internal directories.
Click to hide internal directories.