middleware

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectedLogging

func InjectedLogging(logger *zap.Logger) func(http.Handler) http.Handler

InjectedLogging uses logging middleware

Types

type HeaderParam

type HeaderParam = string
const (
	ContentLength HeaderParam = "Content-Length"
	UserAgent     HeaderParam = "User-Agent"
	Host          HeaderParam = "Host"
	ContentType   HeaderParam = "Content-Type"
)

Jump to

Keyboard shortcuts

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