craban/server/vendor/github.com/felixge/httpsnoop/docs.go

11 lines
392 B
Go
Raw Normal View History

2021-09-12 20:57:59 +01:00
// Package httpsnoop provides an easy way to capture http related metrics (i.e.
// response time, bytes written, and http status code) from your application's
// http.Handlers.
//
// Doing this requires non-trivial wrapping of the http.ResponseWriter
// interface, which is also exposed for users interested in a more low-level
// API.
package httpsnoop
//go:generate go run codegen/main.go