Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTransport ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a custom implementation of an HTTP client that can be used to perform HTTP requests.
type Opt ¶
type Opt func(*Client)
Opt is a functional option for the Client.
func WithClient ¶
WithClient is an option that sets the http.Client instance.
Be careful when used in combination with WithProxyAddr, as it will override the transport settings.
func WithProxyAddr ¶
WithProxyAddr is an option that sets the proxy address.
Be careful when used in combination with WithClient, as it will override the transport settings.
Click to show internal directories.
Click to hide internal directories.