Documentation ¶
Index ¶
- func LogDevRequestCreator(c *gin.Context) func(ctx *gin.Context)
- func LogProdRequest(c *gin.Context)
- func LogRequestBase(c *gin.Context) []zap.Field
- func Logger(isLogRequestBody bool) gin.HandlerFunc
- func OpenapiValidator(swagger *openapi3.T) func(ginCtx *gin.Context)
- func Recovery() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogDevRequestCreator ¶
LogDevRequestCreator Use closure to get user_id from *gin.Context
func LogProdRequest ¶
func Logger ¶
func Logger(isLogRequestBody bool) gin.HandlerFunc
func Recovery ¶
func Recovery() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.