Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(o *opts)
Option represents the option for the HTTP client.
func WithContentType ¶
WithContentType sets the content type header for the HTTP requests.
func WithTransport ¶
WithTransport sets the preferred transport for the HTTP client.
Click to show internal directories.
Click to hide internal directories.