middlewares

package
v0.0.0-...-1bd4bba Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CasbinProtected

func CasbinProtected() func(*fiber.Ctx) error

func Enforcer

func Enforcer(db *sqlx.DB) *casbin.Enforcer

func FiberMiddleware

func FiberMiddleware(app *fiber.App)

func JWTProtected

func JWTProtected() func(*fiber.Ctx) error

JWTProtected See: https://github.com/gofiber/jwt

Types

This section is empty.

Jump to

Keyboard shortcuts

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