Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecoveryMiddleware ¶
func RecoveryMiddleware() rtr.MiddlewareInterface
RecoveryMiddleware creates a new middleware that recovers from panics. It logs the panic details and returns a 500 Internal Server Error response. This should typically be added as one of the first middlewares in the chain.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.