Open
Description
type AdapterCache interface {
String() string
Get(key string) (string, error)
Set(key string, val interface{}, expire int) error
Del(key string) error
HashGet(hk, key string) (string, error)
HashDel(hk, key string) error
Increase(key string) error
Decrease(key string) error
Expire(key string, dur time.Duration) error
}
实现了 HashGet(hk, key string) (string, error) 方法,但是 hset 这类方法都没有实现?
请问这么设计的原因是什么呢?redis原生的client也拿不到...