Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Filter defines a function to skip middleware. // Optional. Default: nil Filter func(*fiber.Ctx) bool // Generator defines a function to generate an ID. // Optional. Default: func() string { // return uuid.New().String() // } Generator func() string }
Config defines the config for RequestID middleware
Click to show internal directories.
Click to hide internal directories.