Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

11 Zeilen
392 B

  1. // Package httpsnoop provides an easy way to capture http related metrics (i.e.
  2. // response time, bytes written, and http status code) from your application's
  3. // http.Handlers.
  4. //
  5. // Doing this requires non-trivial wrapping of the http.ResponseWriter
  6. // interface, which is also exposed for users interested in a more low-level
  7. // API.
  8. package httpsnoop
  9. //go:generate go run codegen/main.go