40dc66b26f
full diff: https://github.com/docker/docker/compare/032797ea4bcb...06499c52e2b12b0540fed5c47a22e25c0cf6775a Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
11 lines
392 B
Go
11 lines
392 B
Go
// 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
|