middlewares

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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) Middleware

func Metrics added in v0.6.6

func Metrics(options ...metrics.Option) Middleware

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL