package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Jan 4, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- Constants
-
type Client
-
func (c *Client) Call(ctx context.Context, method, path string, params, response any, ...) (*resty.Response, error)
-
func (c *Client) CallURL(ctx context.Context, method, uri string, response any, ...) (*resty.Response, error)
type Client struct {
HTTP *resty.Client
}
Client defines an HTTP client for the Polygon REST API.
Call makes an API call based on the request params and options. The response is automatically unmarshaled.
CallURL makes an API call based on a request URI and options. The response is automatically unmarshaled.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.