middleware

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware added in v0.0.27

func AuthMiddleware() gin.HandlerFunc

AuthMiddleware 登录校验

func CustomRecovery added in v0.0.20

func CustomRecovery() gin.HandlerFunc

CustomRecovery 是自定义的 Recovery 中间件

func EnsureSelectedClusterMiddleware

func EnsureSelectedClusterMiddleware() gin.HandlerFunc

func PlatformAuthMiddleware added in v0.0.75

func PlatformAuthMiddleware() gin.HandlerFunc

PlatformAuthMiddleware 平台管理员角色校验

func RolePlatformOnly added in v0.0.70

func RolePlatformOnly(handler interface{}) gin.HandlerFunc

func SetCacheHeaders added in v0.0.57

func SetCacheHeaders() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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