Documentation
¶
Overview ¶
Package recovery provides a recover function
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Recovery ¶
func Recovery(f RecoverFunction) func()
Recovery returns a recover function with error stack added.
Types ¶
type RecoverFunction ¶
type RecoverFunction func(err error)
Click to show internal directories.
Click to hide internal directories.