middleware

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertNotify

func AlertNotify() gin.HandlerFunc

func CheckLogin

func CheckLogin() gin.HandlerFunc

CheckLogin 验证是否登录

func CheckMemberToken

func CheckMemberToken() gin.HandlerFunc

func CheckRBAC

func CheckRBAC() gin.HandlerFunc

CheckRBAC 验证 RBAC 权限是否合法

func CheckSignature

func CheckSignature() gin.HandlerFunc

CheckSignature 验证签名是否合法,对用签名算法 pkg/signature

func CheckToken

func CheckToken() gin.HandlerFunc

func DynamicAccess

func DynamicAccess() gin.HandlerFunc

func Metrics

func Metrics() gin.HandlerFunc

Metrics 统计

Types

This section is empty.

Jump to

Keyboard shortcuts

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