Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExcludeFromLogging = regexp.MustCompile(`\/(ready|live|metrics)$`)
Functions ¶
Types ¶
type LoggingResponseWriter ¶
type LoggingResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func (*LoggingResponseWriter) Flush ¶
func (w *LoggingResponseWriter) Flush()
Implement Flush to support the http.Flusher interface
func (*LoggingResponseWriter) WriteHeader ¶
func (w *LoggingResponseWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.