Versions in this module Expand all Collapse all v0 v0.1.1 May 7, 2026 v0.1.0 May 6, 2026 Changes in this version + var Header = http.CanonicalHeaderKey("Request-Id") + var LogKey string = "requestId" + var MaxClockDrift = 5 * time.Minute + func FromContext(ctx context.Context) string + func LogHandler(handler slog.Handler) slog.Handler + func Middleware(next http.Handler) http.Handler + func New() string + func NewContext(ctx context.Context) context.Context + func SetHeader(ctx context.Context, req *http.Request) + func Transport(next http.RoundTripper) http.RoundTripper + type RequestID = typeid.UUID[reqPrefix] + type RoundTripFunc func(r *http.Request) (*http.Response, error) + func (f RoundTripFunc) RoundTrip(req *http.Request) (*http.Response, error)