Documentation ¶ Index ¶ func ErrHandler() func(c *fiber.Ctx, err error) error func GetLogCtx(c interface{ ... }) context.Context func MiddlewareLogger(config LogCtxConfig) func(c *fiber.Ctx) error func StatusFromContext(c *fiber.Ctx, err error) int type LogCtxConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ErrHandler ¶ func ErrHandler() func(c *fiber.Ctx, err error) error func GetLogCtx ¶ added in v0.2.1 func GetLogCtx(c interface { Locals(key string, value ...any) any }, ) context.Context func MiddlewareLogger ¶ func MiddlewareLogger(config LogCtxConfig) func(c *fiber.Ctx) error func StatusFromContext ¶ func StatusFromContext(c *fiber.Ctx, err error) int Types ¶ type LogCtxConfig ¶ added in v0.2.0 type LogCtxConfig struct { DisableIP bool DisableAPPMethod bool DisableUserAgent bool } Source Files ¶ View all Source files middlewares.gostatus.go Click to show internal directories. Click to hide internal directories.