Documentation
¶
Overview ¶
Package olusogin provides Oluso error monitoring middleware for Gin.
Named olusogin rather than gin so it doesn't collide with (or force aliasing of) the github.com/gin-gonic/gin import in consuming code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(client *oluso.Client) gin.HandlerFunc
Middleware wraps Gin's request handling with Oluso error monitoring: it scopes breadcrumbs to the request, auto-reports panics and 5xx responses, and recovers from panics so one bad request doesn't take down the server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.