Versions in this module Expand all Collapse all v1 v1.3.3 Jan 24, 2024 Changes in this version + type CasbinConf struct + ModelText string + func (l CasbinConf) MustNewCasbin(dbType, dsn string) *casbin.Enforcer + func (l CasbinConf) MustNewCasbinWithOriginalRedisWatcher(dbType, dsn string, c config.RedisConf) *casbin.Enforcer + func (l CasbinConf) MustNewCasbinWithRedisWatcher(dbType, dsn string, c redis.RedisConf) *casbin.Enforcer + func (l CasbinConf) MustNewOriginalRedisWatcher(c config.RedisConf, f func(string2 string)) persist.Watcher + func (l CasbinConf) MustNewRedisWatcher(c redis.RedisConf, f func(string2 string)) persist.Watcher + func (l CasbinConf) NewCasbin(dbType, dsn string) (*casbin.Enforcer, error)