Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDefault = Config{ Title: defaultTitle, Refresh: defaultRefresh, APIOnly: false, Next: nil, // contains filtered or unexported fields }
Functions ¶
Types ¶
type Config ¶ added in v2.19.0
type Config struct { // Metrics page title // // Optional. Default: "Fiber Monitor" Title string // Refresh period // // Optional. Default: 3 seconds Refresh time.Duration // Whether the service should expose only the monitoring API. // // Optional. Default: false APIOnly bool // Next defines a function to skip this middleware when returned true. // // Optional. Default: nil Next func(c *fiber.Ctx) bool // contains filtered or unexported fields }
Config defines the config for middleware.
Click to show internal directories.
Click to hide internal directories.