Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggingRoundTripper ¶
func NewLoggingRoundTripper(rt http.RoundTripper) http.RoundTripper
NewLoggingRoundTripper creates a new logging roundtripper
Types ¶
type LoggingRoundTripper ¶
type LoggingRoundTripper struct {
Next http.RoundTripper
}
LoggingRoundTripper logs a request-response
Click to show internal directories.
Click to hide internal directories.