middleware

package
v0.0.0-...-e1839d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2022 License: GPL-3.0 Imports: 4 Imported by: 2

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL