middleware

package
v0.0.0-...-cfca2e5 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRole

func CheckRole(userCase usecase.User) gin.HandlerFunc

CheckRole 检查用户角色是否有权限

func JWT

func JWT(authH auth.Auth) gin.HandlerFunc

JWT 自定义中间件

Types

This section is empty.

Jump to

Keyboard shortcuts

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