Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct { http.RoundTripper Output io.Writer // Dump controls whether to dump HTTP request and responses. Dump bool // Trace enables usage of net/http/httptrace. Trace bool }
Transport implements http.RoundTripper and can be used to wrap other HTTP transports for debugging, normally http.DefaultTransport.
Click to show internal directories.
Click to hide internal directories.