Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCasbinSyncedEnforcer ¶
func ParamsMatch ¶
func ParamsMatchFunc ¶
func ParamsMatchFunc(args ...interface{}) (interface{}, error)
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config Redis *redis.Redis SyncedEnforcer *casbin.SyncedEnforcer CasbinRuleModel model.CasbinRuleModel UserModel model.UserModel UserRoleModel model.UserRoleModel UserPageSetModel model.UserPageSetModel UserMenuParamsModel model.UserMenuParamsModel RoleModel model.RoleModel RoleMenuModel model.RoleMenuModel MenuModel model.MenuModel APIModel model.ApiModel }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.