Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config GormDB *gorm.DB UserDao *dao.UserDao[model.SysUser] RoleDao *dao.RoleDao[model.SysRole] MenuDao *dao.MenuDao[model.SysMenu] PermissionDao *dao.PermissionDao[model.SysPermission] DictDao *dao.DictDao[model.SysDict] JwtAuth struct { AccessSecret string } }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.