Documentation ¶
Overview ¶
Package recoverpanic provides panic recovery for all services. It uses go built in recovery() function
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddleware ¶
func NewMiddleware(log *log.Logger) muxhttp.Middleware
NewMiddleware recovers from panics and converts the panic to an error so it is reported in Metrics and handled in Errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.