Documentation ¶ Index ¶ func NewLoggingClient(logger *log.Logger) *http.Client type LoggingRoundTripper func (lrt *LoggingRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLoggingClient ¶ func NewLoggingClient(logger *log.Logger) *http.Client Types ¶ type LoggingRoundTripper ¶ type LoggingRoundTripper struct { Proxied http.RoundTripper Logger *log.Logger } func (*LoggingRoundTripper) RoundTrip ¶ func (lrt *LoggingRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) Source Files ¶ View all Source files restlogger.go Click to show internal directories. Click to hide internal directories.