Documentation
¶
Overview ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
Callback is a callback method that is invoked during HTTP communications to forward captured data.
type Origin ¶
type Origin uint
Origin is an enumeration used to annotate which type of data is being fed to the callback.
type Transport ¶
type Transport struct { // Underlying RoundTripper; uses http.DefaultTransport if nil. http.RoundTripper Callback Callback // Output callback. }
Transport is an implementation of http.RoundTripper that logs outgoing requests and incoming responses.