The highest tagged major version is
v3.
package
Version:
v2.1.4
Opens a new window with list of versions in this module.
Published: Nov 6, 2020
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 214
Opens a new window with list of known importers.
README
¶
Monitor
Monitor middleware for Fiber that reports server metrics, inspired by express-status-monitor
Signatures
func New() fiber.Handler
Examples
Import the middleware package and assign it to a route.
package main
import (
"log"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/monitor"
)
func main() {
app := fiber.New()
app.Get("/dashboard", monitor.New())
log.Fatal(app.Listen(":3000"))
}
Documentation
¶
New creates a new middleware handler
Source Files
¶
Click to show internal directories.
Click to hide internal directories.