Versions in this module Expand all Collapse all v2 v2.0.1 Feb 2, 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