Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Casbin ¶
type Casbin struct { types.ApplicationRunner `order:"100"` DS datasource.DataSource `wire:"casbin.datasource"` Model map[string]string `value:"casbin.model"` Log log.Logger `wire:""` // contains filtered or unexported fields }
func NewStarter ¶ added in v1.3.6
func NewStarter() *Casbin
func (Casbin) GetEnforcer ¶
func (r Casbin) GetEnforcer() *casbin.Enforcer
Click to show internal directories.
Click to hide internal directories.