Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2026 v1.0.0 Apr 30, 2026 Changes in this version + type Client struct + BaseURL string + HTTPClient *http.Client + Headers map[string]string + func New(baseURL string, opts ...Option) *Client + func (c *Client) Delete(ctx context.Context, endpoint string, body interface{}) (*http.Response, error) + func (c *Client) Get(ctx context.Context, endpoint string, body interface{}) (*http.Response, error) + func (c *Client) Post(ctx context.Context, endpoint string, body interface{}) (*http.Response, error) + func (c *Client) PostRaw(ctx context.Context, endpoint string, rawBody string, contentType string) (*http.Response, error) + func (c *Client) Put(ctx context.Context, endpoint string, body interface{}) (*http.Response, error) + func (c *Client) PutRaw(ctx context.Context, endpoint string, rawBody string, contentType string) (*http.Response, error) + type Option func(*Client) + func WithHeaders(headers map[string]string) Option + func WithTimeout(timeout time.Duration) Option