Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewEntClient, NewEnforcer, NewCasbinRepo, )
ProviderSet is data providers.
Functions ¶
func CasbinRuleToStringArray ¶
func CasbinRuleToStringArray(rule *ent.CasbinRule) []string
func NewEnforcer ¶
NewEnforcer .
Types ¶
type CasbinRepo ¶
CasbinRepo interface.
func NewCasbinRepo ¶
func NewCasbinRepo(data *Data, logger log.Logger, enforcer casbin.IEnforcer) CasbinRepo
NewCasbinRepo .
Click to show internal directories.
Click to hide internal directories.