Documentation
¶
Index ¶
- type Option
- type RdClient
- func (r *RdClient) BRPop(timeout time.Duration, keys ...string) []string
- func (r *RdClient) Del(key string) bool
- func (r *RdClient) Exists(key string) bool
- func (r *RdClient) Expire(key string, expiration time.Duration) bool
- func (r *RdClient) Get(key string) string
- func (r *RdClient) HGet(key, field string) string
- func (r *RdClient) HSet(key, field string, val interface{}) bool
- func (r *RdClient) HSetNX(key, field string, val interface{}) bool
- func (r *RdClient) IncrInt(key string) int64
- func (r *RdClient) IncrStr(key string) string
- func (r *RdClient) Keys(pattern string) []string
- func (r *RdClient) LPush(key string, val interface{}) bool
- func (r *RdClient) LRange(key string, start int64, stop int64) []string
- func (r *RdClient) Publish(channel string, msg interface{}) bool
- func (r *RdClient) Set(key string, val interface{}, expiration time.Duration) bool
- func (r *RdClient) SetNX(key string, val interface{}, expiration time.Duration) bool
- func (r *RdClient) SexEX(key string, val interface{}, expiration time.Duration) bool
- func (r *RdClient) TTL(key string) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.