package
Version:
v0.0.0-...-a45d15d
Opens a new window with list of versions in this module.
Published: Feb 12, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
UseRecover recovers by panic
type Config struct {
StackSize int `env:"RECOVER_STACK_SIZE" envDefault:"4096"`
DisableStackAll bool `env:"RECOVER_DISABLE_STACK_ALL"`
DisablePrintStack bool `env:"RECOVER_DISABLE_PRINT_STACK"`
}
Provide provides configuration for recover
Source Files
¶
Click to show internal directories.
Click to hide internal directories.