Documentation
¶
Overview ¶
Package http is a wrapper around the standard http library with enhanced DNS resolution and TLS handling capabilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = http.Client{ Transport: &http.Transport{ Proxy: http.ProxyFromEnvironment, DialTLSContext: dns.DialTLSContext, ForceAttemptHTTP2: true, MaxIdleConns: 100, IdleConnTimeout: 90 * time.Second, TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, }, }
DefaultClient is the default HTTP client with custom transport settings, including DNS resolution and TLS handling.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.