package
Version:
v1.7.0
Opens a new window with list of versions in this module.
Published: Sep 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConfigDefault is the default config
func New(config ...Config) fiber.Handler
New creates a new middleware handler
type Config struct {
Next func(c *fiber.Ctx) bool
SendMessage bool
Message *string
EnableStackTrace bool
RecoveryHandler func(c *fiber.Ctx)
}
Config defines the config for recovery middleware.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.