//
pkg.gl
Category
github.com/go-kirito/pkg
middleware
recovery
package
0.1.1
Repository:
https://github.com/go-kirito/pkg.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
52 SLOC
#
Functions
Recovery
Recovery is a server middleware that recovers from any panics.
WithHandler
WithHandler with recovery handler.
WithLogger
WithLogger with recovery logger.
#
Type aliases
HandlerFunc
HandlerFunc is recovery handler func.
Option
Option is recovery option.