Documentation ¶
Index ¶
- type Conf
- type ReidsConn
- func (r ReidsConn) Append(key string, value interface{}) error
- func (r ReidsConn) Decrby(key string, num int) error
- func (r ReidsConn) Del(key string) error
- func (r ReidsConn) Exists(key string) (bool, error)
- func (r ReidsConn) Expire(key string, second time.Duration) error
- func (r ReidsConn) Get(key string) (string, error)
- func (r ReidsConn) GetSet(key string, value interface{}) (string, error)
- func (r ReidsConn) HDecrby(key, field string, num int) error
- func (r ReidsConn) HDel(key string, field string) error
- func (r ReidsConn) HGet(key, field string) (string, error)
- func (r ReidsConn) HGetall(key string) (map[string]string, error)
- func (r ReidsConn) HIncrby(key, field string, num int) error
- func (r ReidsConn) HKeys(key string) ([]string, error)
- func (r ReidsConn) HLen(key string) (int64, error)
- func (r ReidsConn) HMset(key string, field map[string]string) error
- func (r ReidsConn) HSet(key string, field string, value interface{}) error
- func (r ReidsConn) HVals(key string) ([]string, error)
- func (r ReidsConn) Incrby(key string, num int) error
- func (r ReidsConn) LIndex(key string, index int) (string, error)
- func (r ReidsConn) LInsertAfter(key string, value, pirot interface{}) error
- func (r ReidsConn) LInsertBefore(key string, value, pirot interface{}) error
- func (r ReidsConn) LPop(key string) (string, error)
- func (r ReidsConn) LPush(key string, value ...interface{}) error
- func (r ReidsConn) LRange(key string, start, end int) ([]string, error)
- func (r ReidsConn) LRem(key string, value interface{}, count int) error
- func (r ReidsConn) LTrim(key string, start, end int) error
- func (r ReidsConn) RPop(key string) (string, error)
- func (r ReidsConn) RPush(key string, value ...interface{}) error
- func (r ReidsConn) Rename(key, newkey string) error
- func (r ReidsConn) SAdd(key string, value ...interface{}) error
- func (r ReidsConn) SCard(key string) (int, error)
- func (r ReidsConn) SDiff(key string, others ...string) ([]string, error)
- func (r ReidsConn) SInter(key string, others ...string) ([]string, error)
- func (r ReidsConn) SIsmenber(key string, member interface{}) (bool, error)
- func (r ReidsConn) SMembers(key string) ([]string, error)
- func (r ReidsConn) SMove(key1, key2 string, member interface{}) error
- func (r ReidsConn) SPop(key string, count int) ([]string, error)
- func (r ReidsConn) SRem(key string, members ...interface{}) error
- func (r ReidsConn) SUnion(key ...string) ([]string, error)
- func (r ReidsConn) Set(key string, value interface{}) error
- func (r ReidsConn) Setex(key string, value interface{}, second time.Duration) error
- func (r ReidsConn) StrLen(key string) (int64, error)
- func (r ReidsConn) ZAdd(key string, score int, member interface{}) error
- func (r ReidsConn) ZCard(key string) (int, error)
- func (r ReidsConn) ZCount(key string, min, max int) (int, error)
- func (r ReidsConn) ZDecrby(key string, incrememt int, member interface{}) (int, error)
- func (r ReidsConn) ZIncrby(key string, incrememt int, member interface{}) (int, error)
- func (r ReidsConn) ZRange(key string, start, end int) ([]string, error)
- func (r ReidsConn) ZRank(key string, member interface{}) (int, error)
- func (r ReidsConn) ZRem(key string, members ...interface{}) error
- func (r ReidsConn) ZScore(key string, member interface{}) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type ReidsConn ¶
func (ReidsConn) LInsertAfter ¶
在指定元素pitot后面插入value
func (ReidsConn) LInsertBefore ¶
在指定元素pitot前面插入value
func (ReidsConn) LRem ¶
删除list中count个的value元素 当count<0时,从右到左开始,删除|count|个value元素 当count>0时,从左到右开始,删除count个value元素 放count=0时,删除lint中所有的value元素
Click to show internal directories.
Click to hide internal directories.