Versions in this module Expand all Collapse all v1 v1.0.0 Sep 28, 2017 Changes in this version + func FromSimpleLogger(writer SimpleLogWriter, parent http.RoundTripper) http.RoundTripper + func NewRoundTripper(out io.Writer, parent http.RoundTripper) http.RoundTripper + type LogWriter interface + PrintRequest func(req *RequestLog) + PrintResponse func(resp *ResponseLog) + type RequestLog struct + RequestedAt time.Time + type ResponseLog struct + DurationNano int64 + Error error + type SimpleLogWriter interface + Print func(v ...interface{})