Documentation ¶
Index ¶
- func AsHandlerFunc(handlerFunc ghttp.HandlerFunc, requester auth.Requester) gin.HandlerFunc
- func HandlerErrorMiddleware() func(context *gin.Context)
- func RegisterHandlerErrorMiddleware(handlerFunc gin.HandlerFunc) gin.HandlerFunc
- func RegisterHandlerErrorMiddlewares(middlewares gin.HandlersChain) gin.HandlersChain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsHandlerFunc ¶
func AsHandlerFunc(handlerFunc ghttp.HandlerFunc, requester auth.Requester) gin.HandlerFunc
func HandlerErrorMiddleware ¶
func RegisterHandlerErrorMiddleware ¶
func RegisterHandlerErrorMiddleware(handlerFunc gin.HandlerFunc) gin.HandlerFunc
func RegisterHandlerErrorMiddlewares ¶
func RegisterHandlerErrorMiddlewares(middlewares gin.HandlersChain) gin.HandlersChain
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.