data

package
v0.0.0-...-1b17b00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetMenuDB

func GetMenuDB(ctx context.Context, defDB *gorm.DB) *gorm.DB

func GetMenuResourceDB

func GetMenuResourceDB(ctx context.Context, defDB *gorm.DB) *gorm.DB

func GetRoleDB

func GetRoleDB(ctx context.Context, defDB *gorm.DB) *gorm.DB

func GetRoleMenuDB

func GetRoleMenuDB(ctx context.Context, defDB *gorm.DB) *gorm.DB

func GetUserDB

func GetUserDB(ctx context.Context, defDB *gorm.DB) *gorm.DB

func GetUserRoleDB

func GetUserRoleDB(ctx context.Context, defDB *gorm.DB) *gorm.DB

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL