middleware

package
v0.0.0-...-b484ebe Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Casbin

func Casbin(engine *xorm.Engine) pine.Handler

func Cors

func Cors() pine.Handler

func Limiter

func Limiter(maxBurstSize int) pine.Handler

func Pprof

func Pprof(shouldUsePprofHandlerFn func(ctx *pine.Context) bool) pine.Handler

func SetGlobalConfigData

func SetGlobalConfigData() pine.Handler

func StatesViz

func StatesViz(app *pine.Application) pine.Handler

func VerifyJwtToken

func VerifyJwtToken() pine.Handler

VerifyJwtToken 验证jwt excludePrefix 需要排除认证的路由前缀

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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