Versions in this module Expand all Collapse all v2 v2.0.2 Nov 14, 2024 v2.0.1 Nov 8, 2024 v2.0.0 Sep 27, 2023 Changes in this version + type Option func(*Tracer) error + func ErrorHandler(h utils.ErrorHandler) Option + func Logger(l utils.Logger) Option + func RequestHeaders(headers ...string) Option + func ResponseHeaders(headers ...string) Option + type Record struct + Request Request + Response Response + type Request struct + BodyBytes int64 + Headers http.Header + Method string + TLS *TLS + URL string + type Response struct + BodyBytes int64 + Code int + Headers http.Header + Roundtrip float64 + type TLS struct + CipherSuite string + Resume bool + Server string + Version string + type Tracer struct + func New(next http.Handler, writer io.Writer, opts ...Option) (*Tracer, error) + func (t *Tracer) ServeHTTP(w http.ResponseWriter, req *http.Request) Other modules containing this package github.com/vulcand/oxy