Documentation
¶
Index ¶
- Variables
- type Client
- func (r Client) Del(key string) (int64, error)
- func (r Client) Get(key string) (string, error)
- func (r Client) Keys(match string) ([]string, error)
- func (r Client) Lock(key string, ttl time.Duration) (bool, error)
- func (r Client) Set(key string, value string, ttl time.Duration) (string, error)
- func (r Client) SetNX(key string, value string, ttl time.Duration) (bool, error)
- func (r Client) Unlock(key string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KeepTTL = redis.KeepTTL
KeepTTL - helper to expose KeepTTL
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client - instance created when initializing client
Click to show internal directories.
Click to hide internal directories.