Documentation
¶
Overview ¶
Package httptransport implements initialization of http.Transport instances and related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a reference to an http.Transport that's initialized just like the http.DefaultTransport is by the standard library.
Types ¶
type Wrapper ¶
type Wrapper func(*http.Transport) http.RoundTripper
Wrapper wraps the set of functions mapping http.Transport references to http.RoundTripper.
func NoopWrapper ¶
func NoopWrapper() Wrapper
NoopWrapper returns a Wrapper that simply casts its provided http.Transport to an http.RoundTripper.
Click to show internal directories.
Click to hide internal directories.