middleware

package
v0.0.0-...-580ec26 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logging

func Logging() func(http.Handler) http.Handler

Configure logging middleware

func Metrics

func Metrics(recorder metrics.Recorder) func(http.Handler) http.Handler

Configure metrics middleware

func Recovery

func Recovery(debug bool) func(http.Handler) http.Handler

Configure recovery middleware

Types

type RecoveryHandlerLogger

type RecoveryHandlerLogger struct {
}

func (*RecoveryHandlerLogger) Println

func (r *RecoveryHandlerLogger) Println(a ...interface{})

Jump to

Keyboard shortcuts

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