package monitor
Import Path
github.com/gofiber/fiber/v2/middleware/monitor (on go.dev)
Dependency Relation
imports 12 packages, and imported by one package
Package-Level Type Names (only one)
Config defines the config for middleware.
Whether the service should expose only the monitoring API.
Optional. Default: false
ChartJsURL for specify ChartJS library path or URL . also you can use relative path
Optional. Default: https://cdn.jsdelivr.net/npm/chart.js@2.9/dist/Chart.bundle.min.js
// TODO: Rename to "ChartJSURL" in v3
Custom HTML Code to Head Section(Before End)
Optional. Default: empty
FontURL for specify font resource path or URL . also you can use relative path
Optional. Default: https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap
Next defines a function to skip this middleware when returned true.
Optional. Default: nil
Refresh period
Optional. Default: 3 seconds
Metrics page title
Optional. Default: "Fiber Monitor"
func New(config ...Config) fiber.Handler
var ConfigDefault
Package-Level Functions (only one)
New creates a new middleware handler
Package-Level Variables (only one)
var ConfigDefault Config
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |