mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 21:19:10 +00:00
* Update Kubernetes to v1.22.1 * Update dependent modules to track with upstream Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
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
|