Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RoundTripper ¶
type RoundTripper func(next http.RoundTripper) http.RoundTripper
RoundTripper represents an equivalent to a server middleware for a http client.
func Dump ¶
func Dump(logFunc func(a ...interface{})) RoundTripper
Dump creates a round tripper to dump outgoing HTTP requests and incoming responses of a http.Client for analysing purpose.
Click to show internal directories.
Click to hide internal directories.