Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
Middleware is a middleware handler that logs the request as it goes in and the response as it goes out.
func NewMiddleware ¶
func NewMiddleware(statsd statsd.Statter) *Middleware
NewMiddleware returns a new *Middleware, yay!
func (*Middleware) ServeHTTP ¶
func (s *Middleware) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.