Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneTransport ¶
CloneTransport creates a new *http.Transport object that has copied attributes from a given one.
func DrainResponseBody ¶
Types ¶
type RoundTripperFunc ¶
func (RoundTripperFunc) Wrap ¶
func (f RoundTripperFunc) Wrap(rt http.RoundTripper) http.RoundTripper
type RoundTripperWrapper ¶
type RoundTripperWrapper struct { Next http.RoundTripper Func func(*http.Request, http.RoundTripper) (*http.Response, error) }
Click to show internal directories.
Click to hide internal directories.