Documentation
¶
Overview ¶
Package polyhttp contains shared HTTP helpers for Polymarket API clients.
Index ¶
- type APIError
- type AuthLevel
- type Client
- func (c *Client) DeleteJSON(ctx context.Context, path string, body any, auth AuthLevel, out any) error
- func (c *Client) DoJSON(ctx context.Context, method, path string, query url.Values, body any, ...) error
- func (c *Client) GetJSON(ctx context.Context, path string, query url.Values, auth AuthLevel, out any) error
- func (c *Client) PostJSON(ctx context.Context, path string, body any, auth AuthLevel, out any) error
- type HeaderFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
func (*APIError) HTTPStatus ¶
Click to show internal directories.
Click to hide internal directories.