middleware

package
v0.0.0-...-1bf90d9 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestLogger

func RequestLogger(next http.Handler) http.Handler

func RequestMetric

func RequestMetric(next http.Handler) http.Handler

func TraceID

func TraceID(next http.Handler) http.Handler

Types

type ErrorWrapper

type ErrorWrapper func(writer http.ResponseWriter, request *http.Request) error

func (ErrorWrapper) ServeHTTP

func (s ErrorWrapper) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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