Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Body ¶
func Body(size int64) gin.HandlerFunc
Body reads and partially copies the request body for debugging.
func GetRequestID ¶
GetRequestID returns the request ID associated with the current request.
func Logger ¶
func Logger() gin.HandlerFunc
Logger returns a request logger middleware, which logs the HTTP request and creates a logger instance to be used throughout the execution of the request.
func Recovery ¶
func Recovery() gin.HandlerFunc
Recovery is a middleware that recovers from panic then logs the stack trace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.