Files
mayfly-go/server/internal/redis/domain/repository/redis.go

17 lines
387 B
Go
Raw Normal View History

package repository
import (
2022-09-09 18:26:08 +08:00
"mayfly-go/internal/redis/domain/entity"
"mayfly-go/pkg/base"
"mayfly-go/pkg/model"
)
type Redis interface {
base.Repo[*entity.Redis]
// 分页获取机器信息列表
GetRedisList(condition *entity.RedisQuery, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
2022-10-26 20:49:29 +08:00
Count(condition *entity.RedisQuery) int64
}