Documentation ¶
Index ¶
- func NewWhiteListDao() redis.WhiteListDao
- type TaskDaoImpl
- func (TaskDaoImpl) AddTask(db *gorm.DB, task *redis.RedisTask) (int64, error)
- func (TaskDaoImpl) GetTask(db *gorm.DB, id int64) (*redis.RedisTask, error)
- func (TaskDaoImpl) ListRedisTaskByTaskID(db *gorm.DB, id int64) ([]redis.RedisTask, error)
- func (TaskDaoImpl) ListTask(db *gorm.DB, info request.SortPageInfo, isDBA bool, status []string) ([]redis.RedisTask, int64, error)
- func (TaskDaoImpl) UpdateTask(db *gorm.DB, task *redis.RedisTask) error
- type WhiteListDao
- func (dao *WhiteListDao) AddWhiteList(ctx context.Context, db *gorm.DB, WhiteList *redis.WhiteList) (int64, error)
- func (dao *WhiteListDao) DelWhiteList(ctx context.Context, db *gorm.DB, id int64) error
- func (dao *WhiteListDao) ListWhiteList(ctx context.Context, db *gorm.DB, cmdType string) ([]redis.WhiteList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWhiteListDao ¶
func NewWhiteListDao() redis.WhiteListDao
Types ¶
type TaskDaoImpl ¶
type TaskDaoImpl struct { }
var Task TaskDaoImpl
func (TaskDaoImpl) ListRedisTaskByTaskID ¶
func (TaskDaoImpl) UpdateTask ¶
type WhiteListDao ¶
type WhiteListDao struct{}
func (*WhiteListDao) AddWhiteList ¶
func (*WhiteListDao) DelWhiteList ¶
Click to show internal directories.
Click to hide internal directories.