Documentation
¶
Overview ¶
Package middleware provides http useful middleware.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinRequestMiddleware ¶
func GinRequestMiddleware() gin.HandlerFunc
GinRequestMiddleware is the Gin adaptation of MiddlewareLogging. It performs request trace setup, context enrichment, debug dump, panic recovery, mock-mode short-circuit, and authentication — then calls c.Next() to proceed to the matched handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.