Documentation ¶
Index ¶
- func CheckBatchEnforce(e *casbin.Enforcer, requests [][]any) ([]bool, error)
- func CheckEnforce(e *casbin.Enforcer, sub, obj, act any) (bool, error)
- func NewEnforcer(params ...any) (*casbin.Enforcer, error)
- func NewModelFromString(str string) (model.Model, error)
- func NewMySQLAdapter() (*xormadapter.Adapter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckBatchEnforce ¶
func CheckEnforce ¶
func NewEnforcer ¶
func NewMySQLAdapter ¶
func NewMySQLAdapter() (*xormadapter.Adapter, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.