Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDialer = &net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, }
Values from http.DefaultTransport
View Source
var DefaultTransport = &http.Transport{ Proxy: http.ProxyFromEnvironment, Dial: DefaultDialer.Dial, TLSHandshakeTimeout: 10 * time.Second, }
Functions ¶
This section is empty.
Types ¶
type RoundTripper ¶
func NewRoundTripper ¶
func TestRoundTripper ¶ added in v0.7.9
func TestRoundTripper(backend *url.URL) *RoundTripper
Click to show internal directories.
Click to hide internal directories.