Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { TLSHandshakeTimeout time.Duration `mapstructure:"tls_handshake_timeout"` IdleConnTimeout time.Duration `mapstructure:"idle_conn_timeout"` ResponseHeaderTimeout time.Duration `mapstructure:"response_header_timeout"` DialTimeout time.Duration `mapstructure:"dial_timeout"` }
func DefaultSettings ¶
func DefaultSettings() *Settings
DefaultSettings return the default values for httpclient settings
Click to show internal directories.
Click to hide internal directories.