Documentation
¶
Overview ¶
Package olusofiber provides Oluso error monitoring middleware for Fiber.
Fiber is built on fasthttp rather than net/http, so unlike the Gin and Echo adapters this one can't reuse Client.CaptureHTTPError (which takes a *http.Request) — it builds a RequestContext directly from fiber.Ctx and reports it via Client.CaptureRequestError instead.
Named olusofiber rather than fiber so it doesn't collide with (or force aliasing of) the github.com/gofiber/fiber/v2 import in consuming code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
Middleware wraps Fiber's request handling with Oluso error monitoring: it scopes breadcrumbs to the request, auto-reports panics and 5xx responses (including handlers that return a *fiber.Error instead of writing directly), and recovers from panics so one bad request doesn't take down the server.
Types ¶
This section is empty.