(code int)
| 32 | } |
| 33 | |
| 34 | func (w *logResponseWriter) WriteHeader(code int) { |
| 35 | w.statusCode = code |
| 36 | w.ResponseWriter.WriteHeader(code) |
| 37 | } |
| 38 | |
| 39 | // logging is a logging middleware |
| 40 | func Logging(inner http.Handler) http.HandlerFunc { |
no outgoing calls