middleware

package
v0.0.0-...-49cc056 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 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, conf string) pine.Handler

func Cors

func Cors() pine.Handler

func Demo

func Demo() pine.Handler

Demo 演示项目示例限制操作

func Limiter

func Limiter(maxBurstSize int) pine.Handler

func Pprof

func Pprof() 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