Documentation ¶ Index ¶ type Client func (c *Client) Do(method string, path string, payload any, idempotencyKey string) (Response, error) func (c *Client) DoPublic(method string, path string, payload any, idempotencyKey string) (Response, error) type DeprecationNotice type Response Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { BaseURL string Token string HTTPClient *http.Client } func (*Client) Do ¶ func (c *Client) Do(method string, path string, payload any, idempotencyKey string) (Response, error) func (*Client) DoPublic ¶ added in v0.2.0 func (c *Client) DoPublic(method string, path string, payload any, idempotencyKey string) (Response, error) type DeprecationNotice ¶ type DeprecationNotice struct { Deprecated bool `json:"deprecated"` Message string `json:"message"` Replacement string `json:"replacement"` Sunset string `json:"sunset"` DocsURL string `json:"docs_url"` } type Response ¶ type Response struct { StatusCode int Body []byte Deprecation DeprecationNotice } Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.