Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opt ¶
type Opt func(*options)
Opt configures HTTP request options.
func WithAuthToken ¶
WithAuthToken specifies an authorization token.
func WithHTTPClient ¶
func WithHTTPClient(c httpClient) Opt
WithHTTPClient specifies the custom HTTP client.
func WithMethod ¶
WithMethod specifies an HTTP method. Default is GET.
Click to show internal directories.
Click to hide internal directories.