Versions in this module Expand all Collapse all v1 v1.2.0 Jun 24, 2026 Changes in this version + func MustParseRequestID(h http.Header) string + func NewContext(ctx context.Context, t *Trace) context.Context + func RequestID() log.Valuer + type Trace struct + CacheStatus string + FirstResponseTime time.Time + RecvReq uint64 + RemoteAddr string + RequestID string + SentResp uint64 + StartAt time.Time + StoreUrl string + func FromContext(ctx context.Context) *Trace + func WithTrace(req *http.Request) (*http.Request, *Trace) + func (t *Trace) Clone() *Trace