middleware

package
v0.0.0-...-f5dcb26 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUserAdminMiddleware

func IsUserAdminMiddleware() gin.HandlerFunc

func JWTAuthMiddleware

func JWTAuthMiddleware() gin.HandlerFunc

Types

type Controler

type Controler struct {
	// contains filtered or unexported fields
}

func NewControler

func NewControler() *Controler

func (*Controler) IsUserAuthorized

func (uc *Controler) IsUserAuthorized() gin.HandlerFunc

Jump to

Keyboard shortcuts

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