middleware

package
v0.0.0-...-045538f Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogWrap

func LogWrap(logger lager.Logger, handler http.Handler) http.HandlerFunc

func RequestCountWrap

func RequestCountWrap(handler http.Handler) http.HandlerFunc

Types

type LatencyEmitter

type LatencyEmitter struct {
	// contains filtered or unexported fields
}

func NewLatencyEmitter

func NewLatencyEmitter(logger lager.Logger) LatencyEmitter

func (LatencyEmitter) EmitLatency

func (l LatencyEmitter) EmitLatency(f http.HandlerFunc) http.HandlerFunc

Jump to

Keyboard shortcuts

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