Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cacher ¶
type Cacher interface { Set(k string, p string, v interface{}, d time.Duration) error Delete(k string, p string) error Get(k string, p string) (v string, err error) Ttl(k string, p string) (t time.Duration, err error) }
func NewClusterRedis ¶
type ClusterRedis ¶
type ClusterRedis struct {
Cache *redis.ClusterClient
}
Click to show internal directories.
Click to hide internal directories.