Documentation ¶
Index ¶
- func AuthMiddleware() fiber.Handler
- func CacheMiddleware() fiber.Handler
- func CasbinMiddleware(db *gorm.DB, prefix, tableName string) fiber.Handler
- func LoggerMiddleware() fiber.Handler
- func ParamsActMatchFunc(args ...interface{}) (interface{}, error)
- func ParamsObjMatchFunc(args ...interface{}) (interface{}, error)
- func WhiteIpMiddleware() fiber.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware() fiber.Handler
AuthMiddleware jwt authentication middleware
func CasbinMiddleware ¶
CasbinMiddleware casbin middleware
func ParamsActMatchFunc ¶
func ParamsActMatchFunc(args ...interface{}) (interface{}, error)
ParamsActMatchFunc 自定义规则函数 method
func ParamsObjMatchFunc ¶
func ParamsObjMatchFunc(args ...interface{}) (interface{}, error)
ParamsObjMatchFunc 自定义规则函数 path
func WhiteIpMiddleware ¶
func WhiteIpMiddleware() fiber.Handler
WhiteIpMiddleware white list middleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.