negronidog

package module
v0.0.0-...-7f1976e Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2016 License: MIT Imports: 7 Imported by: 0

README

negronidog

Simple http stats middleware for DataDog

Currently depends on codegangsta/negroni anf gorilla/mux and obviously on the Datadog statsd package.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NegroniDog

type NegroniDog struct {
	Cli *statsd.Client
}

func NewMiddleWare

func NewMiddleWare(statsdHost string, namespace string, tags []string) *NegroniDog

func (*NegroniDog) ServeHTTP

func (nd *NegroniDog) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)

Jump to

Keyboard shortcuts

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