Documentation ¶
Index ¶
- type Rds
- func (r *Rds) BLPop(key, timeout interface{}) (reply interface{}, err error)
- func (r *Rds) BRPop(key, timeout interface{}) (reply interface{}, err error)
- func (r *Rds) BRPopLPush(source, destination, timeout interface{}) (reply interface{}, err error)
- func (r *Rds) Decr(key interface{}) (reply interface{}, err error)
- func (r *Rds) DecrBy(key, decrement interface{}) (reply interface{}, err error)
- func (r *Rds) Del(keys ...interface{}) (reply interface{}, err error)
- func (r *Rds) Do(commandName string, args ...interface{}) (reply interface{}, err error)
- func (r *Rds) Exists(key interface{}) (reply interface{}, err error)
- func (r *Rds) Expire(key, seconds interface{}) (reply interface{}, err error)
- func (r *Rds) ExpireAt(key, timestamp interface{}) (reply interface{}, err error)
- func (r *Rds) Get(key interface{}) (reply interface{}, err error)
- func (r *Rds) GetBit(key, offset interface{}) (reply interface{}, err error)
- func (r *Rds) GetConn() redis.Conn
- func (r *Rds) GetRange(key, start, end interface{}) (reply interface{}, err error)
- func (r *Rds) GetSet(key, value interface{}) (reply interface{}, err error)
- func (r *Rds) HDel(key interface{}, fields ...interface{}) (reply interface{}, err error)
- func (r *Rds) HExists(key, field interface{}) (reply interface{}, err error)
- func (r *Rds) HGet(key, field interface{}) (reply interface{}, err error)
- func (r *Rds) HGetAll(key interface{}) (reply interface{}, err error)
- func (r *Rds) HIncrBy(key, field, increment interface{}) (reply interface{}, err error)
- func (r *Rds) HIncrByFloat(key, field, increment interface{}) (reply interface{}, err error)
- func (r *Rds) HKeys(key interface{}) (reply interface{}, err error)
- func (r *Rds) HLen(key interface{}) (reply interface{}, err error)
- func (r *Rds) HMGet(key interface{}, fields ...interface{}) (reply interface{}, err error)
- func (r *Rds) HMSet(key interface{}, fieldValues ...interface{}) (reply interface{}, err error)
- func (r *Rds) HScan(key interface{}, cursor interface{}, opts ...interface{}) (reply interface{}, err error)
- func (r *Rds) HSet(key, field, value interface{}) (reply interface{}, err error)
- func (r *Rds) HSetNx(key, field, value interface{}) (reply interface{}, err error)
- func (r *Rds) HStrLen(key, field interface{}) (reply interface{}, err error)
- func (r *Rds) HVals(key interface{}) (reply interface{}, err error)
- func (r *Rds) Incr(key interface{}) (reply interface{}, err error)
- func (r *Rds) IncrBy(key, increment interface{}) (reply interface{}, err error)
- func (r *Rds) IncrByFloat(key, increment interface{}) (reply interface{}, err error)
- func (r *Rds) Keys(pattern interface{}) (reply interface{}, err error)
- func (r *Rds) LIndex(key, index interface{}) (reply interface{}, err error)
- func (r *Rds) LInsert(key, where, pivot, value interface{}) (reply interface{}, err error)
- func (r *Rds) LLen(key interface{}) (reply interface{}, err error)
- func (r *Rds) LPop(key interface{}) (reply interface{}, err error)
- func (r *Rds) LPush(key interface{}, values ...interface{}) (reply interface{}, err error)
- func (r *Rds) LPushX(key, value interface{}) (reply interface{}, err error)
- func (r *Rds) LRange(key, start, stop interface{}) (reply interface{}, err error)
- func (r *Rds) LRem(key, count, value interface{}) (reply interface{}, err error)
- func (r *Rds) LSet(key, index, value interface{}) (reply interface{}, err error)
- func (r *Rds) LTrim(key, start, stop interface{}) (reply interface{}, err error)
- func (r *Rds) MGet(keys ...interface{}) (reply interface{}, err error)
- func (r *Rds) MSet(keyValues ...interface{}) (reply interface{}, err error)
- func (r *Rds) MSetNx(keyValues ...interface{}) (reply interface{}, err error)
- func (r *Rds) NewSubscriber(topic string) (*Subscriber, error)
- func (r *Rds) PExpire(key, milliseconds interface{}) (reply interface{}, err error)
- func (r *Rds) PExpireAt(key, millisecondsTimestamp interface{}) (reply interface{}, err error)
- func (r *Rds) PSetEx(key, milliseconds, value interface{}) (reply interface{}, err error)
- func (r *Rds) PTtl(key interface{}) (reply interface{}, err error)
- func (r *Rds) Persist(key interface{}) (reply interface{}, err error)
- func (r *Rds) RPop(key interface{}) (reply interface{}, err error)
- func (r *Rds) RPopLPush(source, destination interface{}) (reply interface{}, err error)
- func (r *Rds) RPush(key interface{}, values ...interface{}) (reply interface{}, err error)
- func (r *Rds) RPushX(key, value interface{}) (reply interface{}, err error)
- func (r *Rds) SAdd(key interface{}, members ...interface{}) (reply interface{}, err error)
- func (r *Rds) SCard(key interface{}) (reply interface{}, err error)
- func (r *Rds) SDiff(key interface{}, keys ...interface{}) (reply interface{}, err error)
- func (r *Rds) SDiffStore(destination, key interface{}, keys ...interface{}) (reply interface{}, err error)
- func (r *Rds) SInter(key interface{}, keys ...interface{}) (reply interface{}, err error)
- func (r *Rds) SInterStore(destination, key interface{}, keys ...interface{}) (reply interface{}, err error)
- func (r *Rds) SIsMember(key, member interface{}) (reply interface{}, err error)
- func (r *Rds) SMembers(key interface{}) (reply interface{}, err error)
- func (r *Rds) SMove(source, destination, member interface{}) (reply interface{}, err error)
- func (r *Rds) SPop(key interface{}) (reply interface{}, err error)
- func (r *Rds) SRem(key interface{}, members ...interface{}) (reply interface{}, err error)
- func (r *Rds) SScan(key interface{}, cursor interface{}, options ...interface{}) (reply interface{}, err error)
- func (r *Rds) SUnion(key interface{}, keys ...interface{}) (reply interface{}, err error)
- func (r *Rds) SUnionStore(key interface{}, keys ...interface{}) (reply interface{}, err error)
- func (r *Rds) Scan(cursor interface{}, opts ...interface{}) (reply interface{}, err error)
- func (r *Rds) Set(key, value interface{}, args ...interface{}) (reply interface{}, err error)
- func (r *Rds) SetBit(key, offset, value interface{}) (reply interface{}, err error)
- func (r *Rds) SetEx(key, seconds, value interface{}) (reply interface{}, err error)
- func (r *Rds) SetNx(key, value interface{}) (reply interface{}, err error)
- func (r *Rds) SetRange(key, offset, value interface{}) (reply interface{}, err error)
- func (r *Rds) StrLen(key interface{}) (reply interface{}, err error)
- func (r *Rds) Ttl(key interface{}) (reply interface{}, err error)
- func (r *Rds) Type(key interface{}) (reply interface{}, err error)
- func (r *Rds) ZAdd(key interface{}, options ...interface{}) (reply interface{}, err error)
- func (r *Rds) ZCard(key interface{}) (reply interface{}, err error)
- func (r *Rds) ZCount(key, min, max interface{}) (reply interface{}, err error)
- func (r *Rds) ZIncrBy(key, increment, member interface{}) (reply interface{}, err error)
- func (r *Rds) ZInterStore(destination, numkeys, key1, key2 interface{}, opts ...interface{}) (reply interface{}, err error)
- func (r *Rds) ZRange(key, start, stop interface{}, opts ...interface{}) (reply interface{}, err error)
- func (r *Rds) ZRangeByScore(key, min, max interface{}, opts ...interface{}) (reply interface{}, err error)
- func (r *Rds) ZRank(key, member interface{}) (reply interface{}, err error)
- func (r *Rds) ZRem(key, member interface{}, members ...interface{}) (reply interface{}, err error)
- func (r *Rds) ZRemRangeByRank(key, start, stop interface{}) (reply interface{}, err error)
- func (r *Rds) ZRemRangeByScore(key, min, max interface{}) (reply interface{}, err error)
- func (r *Rds) ZRevRange(key, start, stop interface{}) (reply interface{}, err error)
- func (r *Rds) ZRevRangeByScore(key, max, min interface{}, opts ...interface{}) (reply interface{}, err error)
- func (r *Rds) ZRevRank(key, member interface{}) (reply interface{}, err error)
- func (r *Rds) ZScan(key, cursor interface{}, opts ...interface{}) (reply interface{}, err error)
- func (r *Rds) ZScore(key, member interface{}) (reply interface{}, err error)
- func (r *Rds) ZUnionStore(destination, numkeys, key1, key2 interface{}, opts ...interface{}) (reply interface{}, err error)
- type Subscriber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rds ¶
func (*Rds) BRPopLPush ¶
func (*Rds) HIncrByFloat ¶
func (*Rds) IncrByFloat ¶
func (*Rds) NewSubscriber ¶
func (r *Rds) NewSubscriber(topic string) (*Subscriber, error)
func (*Rds) SDiffStore ¶
func (*Rds) SInterStore ¶
func (*Rds) SUnionStore ¶
func (*Rds) ZInterStore ¶
func (r *Rds) ZInterStore(destination, numkeys, key1, key2 interface{}, opts ...interface{}) (reply interface{}, err error)
zinterstore destination numkeys key [key ...] [weights weight]
func (*Rds) ZRange ¶
func (r *Rds) ZRange(key, start, stop interface{}, opts ...interface{}) (reply interface{}, err error)
zrange key start stop [withscores]
func (*Rds) ZRangeByScore ¶
func (r *Rds) ZRangeByScore(key, min, max interface{}, opts ...interface{}) (reply interface{}, err error)
zrangebyscore key min max [withscores] [limit offset count]
func (*Rds) ZRemRangeByRank ¶
func (*Rds) ZRemRangeByScore ¶
func (*Rds) ZRevRangeByScore ¶
func (r *Rds) ZRevRangeByScore(key, max, min interface{}, opts ...interface{}) (reply interface{}, err error)
zrevrangebyscore key max min [withscores] [limit offset count]
func (*Rds) ZUnionStore ¶
func (r *Rds) ZUnionStore(destination, numkeys, key1, key2 interface{}, opts ...interface{}) (reply interface{}, err error)
zunionstore destination numkeys key [key ...] [weights weight] [sum|min|mix]
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func (*Subscriber) Close ¶
func (s *Subscriber) Close()
func (*Subscriber) Subscribe ¶
func (s *Subscriber) Subscribe(cb func([]byte)) error
Click to show internal directories.
Click to hide internal directories.