handlers

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthzHandler

func HealthzHandler(w http.ResponseWriter, _ *http.Request)

func IndexHandler

func IndexHandler(w http.ResponseWriter, _ *http.Request)

func LogHandler added in v1.3.0

func LogHandler(handler http.Handler) http.Handler

Log internal request to stdout

func MetricsHandler added in v1.3.0

func MetricsHandler(conf *config.Config, reg *prometheus.Registry, next http.Handler) http.Handler

func RecoveryHandler added in v1.3.0

func RecoveryHandler(next http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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