Documentation ¶
Index ¶
- Variables
- func GetMenuDB(ctx context.Context, defDB *gorm.DB) *gorm.DB
- func GetMenuResourceDB(ctx context.Context, defDB *gorm.DB) *gorm.DB
- func GetRoleDB(ctx context.Context, defDB *gorm.DB) *gorm.DB
- func GetRoleMenuDB(ctx context.Context, defDB *gorm.DB) *gorm.DB
- func GetUserDB(ctx context.Context, defDB *gorm.DB) *gorm.DB
- func GetUserRoleDB(ctx context.Context, defDB *gorm.DB) *gorm.DB
- func NewMenuRepository(db *gorm.DB) biz.MenuRepository
- func NewMenuResourceRepository(db *gorm.DB) biz.MenuResourceRepository
- func NewRoleMenuRepository(db *gorm.DB) biz.RoleMenuRepository
- func NewRoleRepository(db *gorm.DB) biz.RoleRepository
- func NewScheduledTaskRepository(etcdClient *clientv3.Client, redisClient *redis.Client) biz.ScheduledTaskRepository
- func NewUserRepository(db *gorm.DB) biz.UserRepository
- func NewUserRoleRepository(db *gorm.DB) biz.UserRoleRepository
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewMenuRepository ¶
func NewMenuRepository(db *gorm.DB) biz.MenuRepository
func NewMenuResourceRepository ¶
func NewMenuResourceRepository(db *gorm.DB) biz.MenuResourceRepository
func NewRoleMenuRepository ¶
func NewRoleMenuRepository(db *gorm.DB) biz.RoleMenuRepository
func NewRoleRepository ¶
func NewRoleRepository(db *gorm.DB) biz.RoleRepository
func NewScheduledTaskRepository ¶
func NewScheduledTaskRepository(etcdClient *clientv3.Client, redisClient *redis.Client) biz.ScheduledTaskRepository
func NewUserRepository ¶
func NewUserRepository(db *gorm.DB) biz.UserRepository
func NewUserRoleRepository ¶
func NewUserRoleRepository(db *gorm.DB) biz.UserRoleRepository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.