Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClientConfig ¶
type HTTPClientConfig struct { Timeout config.Duration `toml:"timeout"` IdleConnTimeout config.Duration `toml:"idle_conn_timeout"` MaxIdleConns int `toml:"max_idle_conn"` MaxIdleConnsPerHost int `toml:"max_idle_conn_per_host"` ResponseHeaderTimeout config.Duration `toml:"response_timeout"` proxy.HTTPProxy tls.ClientConfig oauth.OAuth2Config cookie.CookieAuthConfig }
Common HTTP client struct.
func (*HTTPClientConfig) CreateClient ¶
Click to show internal directories.
Click to hide internal directories.