Documentation ¶
Index ¶
- Variables
- func Auth(token string) func(http.Handler) http.Handler
- func NewLoggingMiddleware(l *slog.Logger) func(next http.Handler) http.Handler
- func NewMetricsMiddleware(metricRegistry *prometheus.Registry) func(next http.Handler) http.Handler
- func NewRecoverer(l *slog.Logger) func(next http.Handler) http.Handler
- func NewTracingMiddleware(tracer trace.Tracer) func(next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var SkippedRoutes = []string{"/metrics"}
Functions ¶
func NewLoggingMiddleware ¶
func NewMetricsMiddleware ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.