middleware

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogParamsAsDict

func LogParamsAsDict(params url.Values) *zerolog.Event

LogParamsAsDict logs the request params as a zerolog.Dict.

func RequestLogger

func RequestLogger(log *zerolog.Logger, disable404Paths ...string) func(next http.Handler) http.Handler

RequestLogger creates a middleware chain for request logging

Types

This section is empty.

Jump to

Keyboard shortcuts

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