statsd

package
v0.0.0-...-ec7f410 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2014 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decorate

func Decorate(statter g2s.Statter, prefix string, h http.Handler) http.Handler

Types

type StatsdLogHandler

type StatsdLogHandler struct {
	RequestFormatter func(req *http.Request) string
	// contains filtered or unexported fields
}

func (*StatsdLogHandler) ServeHTTP

func (sh *StatsdLogHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

ServeHTTP records the time for a request and sends the result to statsd

Jump to

Keyboard shortcuts

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