package
1.0.8
Repository: https://github.com/ct-llper/go-pkg.git
Documentation: pkg.go.dev

# Functions

CustomRecovery returns a middleware that recovers from any panics and calls the provided handle func to handle it.
CustomRecoveryWithWriter returns a middleware for a given writer that recovers from any panics and calls the provided handle func to handle it.
No description provided by the author
Recovery returns a middleware that recovers from any panics and writes a 500 if there was one.
RecoveryWithWriter returns a middleware for a given writer that recovers from any panics and writes a 500 if there was one.

# Type aliases

RecoveryFunc defines the function passable to CustomRecovery.