Versions in this module Expand all Collapse all v0 v0.2.0 Jul 30, 2026 v0.1.0 Jul 22, 2026 Changes in this version + func CaptureRoutePattern(next http.Handler) http.Handler + func ClientIP(ctx context.Context) string + func IsHTTPS(ctx context.Context) bool + func RequestID(next http.Handler) http.Handler + func RequestIDFromContext(ctx context.Context) string + func RequestScheme(ctx context.Context) string + type Middleware func(http.Handler) http.Handler + func Chain(mws ...Middleware) Middleware + func ForwardedHeaders(trusted []netip.Prefix) Middleware + func Metrics(m *metrics.HTTPMetrics) Middleware + func Recoverer(logger *slog.Logger) Middleware + func RequestLogger(logger *slog.Logger) Middleware + func SecurityHeaders(hsts string) Middleware + func Timeout(d time.Duration) Middleware