middleware

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricsHandler added in v0.1.15

func NewMetricsHandler(svcName string, handler http.Handler) http.Handler

NewMetricsHandler returns middleware that collects HTTP req/resp specific metrics

func NewPanicHandler

func NewPanicHandler(handler http.Handler) http.Handler

NewPanicHandler returns HTTP handler for Panics processing

Types

This section is empty.

Jump to

Keyboard shortcuts

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