Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationMiddleware ¶
type AuthorizationMiddleware struct {
TokenService *jwt.TokenService
}
func ProvideAuthorizationMiddleware ¶
func ProvideAuthorizationMiddleware(service *jwt.TokenService) *AuthorizationMiddleware
func (*AuthorizationMiddleware) AuthorizationHandler ¶
func (service *AuthorizationMiddleware) AuthorizationHandler() gin.HandlerFunc
type ErrorHandlingMiddleware ¶
type ErrorHandlingMiddleware struct { }
func ProvideErrorHandlingMiddleware ¶
func ProvideErrorHandlingMiddleware() *ErrorHandlingMiddleware
func (*ErrorHandlingMiddleware) ErrorHandler ¶
func (service *ErrorHandlingMiddleware) ErrorHandler() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.