Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a HTTP client.
type Option ¶
type Option func(*Client)
Option represents a option for Client constructor.
func WithLogger ¶
WithLogger returns Option which sets an optional logger for Client.
func WithTimeout ¶
WithTimeout returns Option which sets an optional timeout for Client.
Click to show internal directories.
Click to hide internal directories.