Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotExistError notExistErr = notExistErr{"target not exist"}
View Source
var RedisConnPool *redis.Pool
Functions ¶
This section is empty.
Types ¶
type CacheDao ¶
type CacheDaoRedis ¶
func (*CacheDaoRedis) Close ¶
func (cli *CacheDaoRedis) Close()
func (*CacheDaoRedis) CreateWithExpire ¶
func (cli *CacheDaoRedis) CreateWithExpire(data any, expire float64) error
func (*CacheDaoRedis) IsNotExist ¶
func (cli *CacheDaoRedis) IsNotExist(err error) bool
func (*CacheDaoRedis) Query ¶
func (cli *CacheDaoRedis) Query(pair any) error
Click to show internal directories.
Click to hide internal directories.