()
| 48 | } |
| 49 | |
| 50 | func (w *loggableResponseWriter) Flush() { |
| 51 | if flusher, ok := w.next.(http.Flusher); ok { |
| 52 | flusher.Flush() |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | func logHandler(next http.Handler) http.Handler { |
| 57 | return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |
nothing calls this directly
no outgoing calls
no test coverage detected