Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cacher ¶
type Cacher interface { Get(key string, val interface{}) error Set(key string, val interface{}, timeout time.Duration) error Keys(pattern string) ([]string, error) TTL(key string) (time.Duration, error) Expire(key string, duration time.Duration) error Del(key string) error Exists(keys ...string) (int64, error) }
Cacher interface to abstract Redis/other
Click to show internal directories.
Click to hide internal directories.