Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDialTimeout = 15 DefaultDialKeepAlive = 15 DefaultMaxIdleConn = 100 DefaultIdleConnTimeout = 15 DefaultMaxIdleConnPerHost = 100 DefaultTimeout = 15 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
func (*HttpClient) Init ¶
func (h *HttpClient) Init(options ...Option)
type Option ¶
type Option func(*Options)
func DialKeepAlive ¶
func DialTimeout ¶
func IdleConnTimeout ¶
func MaxIdleConn ¶
func MaxIdleConnPerHost ¶
Click to show internal directories.
Click to hide internal directories.