Versions in this module Expand all Collapse all v4 v4.0.0 Jul 11, 2026 Changes in this version + func GetSpanID(r *http.Request) string + func GetTraceID(r *http.Request) string + func Use(opts Options) (func(http.Handler) http.Handler, error) + type Middleware struct + func New(opts Options) (*Middleware, error) + func (m *Middleware) Middleware() func(http.Handler) http.Handler + type Options struct + SampledFlag byte + SpanIDGen ports.IDGen + TraceIDGen ports.IDGen + TrustIncoming bool Other modules containing this package github.com/aatuh/api-toolkit github.com/aatuh/api-toolkit/v2 github.com/aatuh/api-toolkit/v3