Documentation ¶ Index ¶ func Nop(next http.Handler) http.Handler func Trace(next http.Handler) http.Handler type Middleware func AccessLog(logger *zap.Logger, defaultLevel zapcore.Level) Middleware func Metrics(options ...metrics.Option) Middleware Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Nop ¶ func Nop(next http.Handler) http.Handler func Trace ¶ added in v0.6.0 func Trace(next http.Handler) http.Handler Types ¶ type Middleware ¶ type Middleware = func(http.Handler) http.Handler func AccessLog ¶ func AccessLog( logger *zap.Logger, defaultLevel zapcore.Level, ) Middleware func Metrics ¶ added in v0.6.6 func Metrics(options ...metrics.Option) Middleware Source Files ¶ View all Source files access_log.go metrics.go middleware.go nop.go tools.go trace.go Click to show internal directories. Click to hide internal directories.