mirror of
https://github.com/containers/podman.git
synced 2025-10-15 02:06:42 +08:00

First of all this removes the need for a network connection, second renovate can update the version as it is tracked in go.mod. However the real important part is that the binary downloads are broken[1]. For some reason the swagger created with them does not include all the type information for the examples. However when building from source the same thing works fine. [1] https://github.com/go-swagger/go-swagger/issues/2842 Signed-off-by: Paul Holzinger <pholzing@redhat.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
|