Documentation
¶
Overview ¶
Package redis providers a cache driver that stores the cache in Redis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmdable ¶ added in v0.18.0
type Cmdable interface {
Exists(key string) *rd.BoolCmd
Del(keys ...string) *rd.IntCmd
Get(key string) *rd.StringCmd
MGet(keys ...string) *rd.SliceCmd
FlushAll() *rd.StatusCmd
Set(key string, value interface{}, expiration time.Duration) *rd.StatusCmd
}
Cmdable defines the base commands used by redis driver.
Click to show internal directories.
Click to hide internal directories.