1
This commit is contained in:
18
business/jxutils/cache/cache.go
vendored
18
business/jxutils/cache/cache.go
vendored
@@ -12,13 +12,13 @@ type ICacher interface {
|
||||
GetAs(key string, ptr interface{}) error
|
||||
Keys(prefix string) ([]string, error)
|
||||
|
||||
FlushDB() error
|
||||
Incr(key string) error
|
||||
LRange(key string) (retVal []string)
|
||||
Exists(keys ...string) (int64, error)
|
||||
RPush(key string, value interface{}) error
|
||||
Expire(key string, expiration time.Duration) error
|
||||
LRem(key string, count int, value interface{}) error
|
||||
LSet(key string, index int, value interface{}) error
|
||||
ExpireResult(key string, expiration time.Duration) (bool, error)
|
||||
//FlushDB() error
|
||||
//Incr(key string) error
|
||||
//LRange(key string) (retVal []string)
|
||||
//Exists(keys ...string) (int64, error)
|
||||
//RPush(key string, value interface{}) error
|
||||
//Expire(key string, expiration time.Duration) error
|
||||
//LRem(key string, count int, value interface{}) error
|
||||
//LSet(key string, index int, value interface{}) error
|
||||
//ExpireResult(key string, expiration time.Duration) (bool, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user