Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHttpClient ¶
func LoadDefaultConfig ¶
func LoadDefaultConfig()
Types ¶
type Config_type ¶
type Config_type struct {
Timeout time.Duration
DialTimeout time.Duration
KeepAliveDetectTime time.Duration
ResponseHeaderTimeout time.Duration
TLSHandshakeTimeout time.Duration
MaxIdleConns int
IdleConnTimeout time.Duration
DisableKeepAlives bool
MaxIdleConnsPerHost int
HttpProxy *url.URL
// TLSClient Config
TLSClientC_InsecureSkipVerify bool
// HTTP2 config
HTTP2_ForceAttempt bool
}
var DefaultConfig *Config_type
Click to show internal directories.
Click to hide internal directories.