chi

package
v0.0.0-...-820def7 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instrumentation

func Instrumentation(reg prometheus.Registerer, name string) func(next http.Handler) http.Handler

Instrumentation returns a new Prometheus middleware for Chi.

func Logger

func Logger(logger log.Logger) func(next http.Handler) http.Handler

Logger returns a middleware to log HTTP requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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