Documentation ¶
Overview ¶
Package recovery provides an HTTP handler which recovers panics in an underlying handler, logs debug information about the panic, and returns a 500 Internal Server Error to the client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogOnPanic ¶
LogOnPanic logs the given panic and its stacktrace, prefixing each line with the panic ID.
Types ¶
Click to show internal directories.
Click to hide internal directories.