Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogRequest ¶
func LogRequest(msg string, log logging.Logger, next http.HandlerFunc) http.HandlerFunc
LogRequest logs request info to the specified logger.
func NewStatusCapturingResponseWriter ¶
func NewStatusCapturingResponseWriter(w http.ResponseWriter) *statusCapturingResponseWriter
func PanicRecovery ¶
func PanicRecovery(log logging.Logger, next http.HandlerFunc) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.