Documentation
¶
Index ¶
- func NewRedisClients(clients map[RDB]*Client)
- type Client
- func (c Client) ClientGetName() *redis.StringCmd
- func (c Client) Del(keys ...string) *redis.IntCmd
- func (c Client) Dump(key string) *redis.StringCmd
- func (c Client) Echo(message interface{}) *redis.StringCmd
- func (c Client) Exists(keys ...string) *redis.IntCmd
- func (c Client) Expire(key string, expiration time.Duration) *redis.BoolCmd
- func (c Client) ExpireAt(key string, tm time.Time) *redis.BoolCmd
- func (c Client) ExpireGT(key string, expiration time.Duration) *redis.BoolCmd
- func (c Client) ExpireLT(key string, expiration time.Duration) *redis.BoolCmd
- func (c Client) ExpireNX(key string, expiration time.Duration) *redis.BoolCmd
- func (c Client) ExpireTime(key string) *redis.DurationCmd
- func (c Client) ExpireXX(key string, expiration time.Duration) *redis.BoolCmd
- func (c Client) Ping() *redis.StatusCmd
- func (c Client) Unlink(keys ...string) *redis.IntCmd
- func (c Client) ZAddNX(key string, members ...redis.Z) *redis.IntCmd
- func (c Client) ZRange(key string, start, stop int64) *redis.StringSliceCmd
- func (c Client) ZRemRangeByScore(key, min, max string) *redis.IntCmd
- type RDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedisClients ¶
Types ¶
type Client ¶
func NewRedisClient ¶
func (Client) ClientGetName ¶
ClientGetName returns the name of the connection.
func (Client) ExpireTime ¶
func (c Client) ExpireTime(key string) *redis.DurationCmd
Click to show internal directories.
Click to hide internal directories.