Versions in this module Expand all Collapse all v0 v0.1.0 Mar 9, 2026 Changes in this version + type APIError struct + Code int + Message string + StatusCode int + Type string + Version string + func (e *APIError) Error() string + type Client struct + func NewClient(projectID string, timeout time.Duration) (*Client, error) + func (c *Client) Context() (context.Context, context.CancelFunc) + func (c *Client) Delete(ctx context.Context, path string) error + func (c *Client) Do(ctx context.Context, method, path string, body interface{}, result interface{}) error + func (c *Client) Get(ctx context.Context, path string, result interface{}) error + func (c *Client) GetEndpoint() string + func (c *Client) GetProjectID() string + func (c *Client) ListAll(ctx context.Context, path string, limit int, itemsKey string, ...) error + func (c *Client) Patch(ctx context.Context, path string, body, result interface{}) error + func (c *Client) Post(ctx context.Context, path string, body, result interface{}) error + func (c *Client) Put(ctx context.Context, path string, body, result interface{}) error + type ListResponse struct + Items json.RawMessage + Total int