Documentation ¶
Index ¶
- type Error
- type Redis
- func (p *Redis) Append(key, value string) (res int64, err error)
- func (p *Redis) BatchHGetAll(keys ...string) (res map[string]map[string]string, err error)
- func (p *Redis) Close()
- func (p *Redis) Del(keys ...string) (res int64, err error)
- func (p *Redis) Exists(keys ...string) (res int64, err error)
- func (p *Redis) Expire(key string, seconds int64) (res bool, err error)
- func (p *Redis) Get(key string) (res string, err error)
- func (p *Redis) GetBit(key string, offset int64) (res int64, err error)
- func (p *Redis) HGet(key, field string) (res string, err error)
- func (p *Redis) HGetAll(key string) (res map[string]string, err error)
- func (p *Redis) HIncrBy(key, field string, incr int64) (res int64, err error)
- func (p *Redis) HMGet(key string, fields ...string) (res []string, err error)
- func (p *Redis) HMSet(key string, fields map[string]interface{}) (res string, err error)
- func (p *Redis) HSet(key, field string, value interface{}) (res bool, err error)
- func (p *Redis) IncrBy(key string, value int64) (res int64, err error)
- func (p *Redis) Keys(key string) (res []string, err error)
- func (p *Redis) LPop(key string) (res string, err error)
- func (p *Redis) LPush(key string, values ...interface{}) (res int64, err error)
- func (p *Redis) LRange(key string, start, stop int64) (res []string, err error)
- func (p *Redis) MGet(keys ...string) (res []string, err error)
- func (p *Redis) Publish(channel string, message interface{}) (res int64, err error)
- func (p *Redis) RPop(key string) (res string, err error)
- func (p *Redis) RPush(key string, values ...interface{}) (res int64, err error)
- func (p *Redis) Rename(key string, newkey string) (res string, err error)
- func (p *Redis) SAdd(key string, members ...interface{}) (res int64, err error)
- func (p *Redis) SCard(key string) (res int64, err error)
- func (p *Redis) SInter(keys ...string) (res []string, err error)
- func (p *Redis) SIsmember(key string, member interface{}) (res bool, err error)
- func (p *Redis) SMembers(key string) (res []string, err error)
- func (p *Redis) SPop(key string) (res string, err error)
- func (p *Redis) SRem(key string, members ...interface{}) (res int64, err error)
- func (p *Redis) Set(key string, value interface{}) (res string, err error)
- func (p *Redis) SetBit(key string, offset int64, value int) (res int64, err error)
- func (p *Redis) SetEx(key string, seconds int64, value interface{}) (res string, err error)
- func (p *Redis) SetNx(key string, value interface{}) (res bool, err error)
- func (p *Redis) SetNxEx(key string, value interface{}, seconds int64) (res bool, err error)
- func (p *Redis) Time() (res time.Time, err error)
- func (p *Redis) ZAdd(key string, score float64, member interface{}) (res int64, err error)
- func (p *Redis) ZCard(key string) (res int64, err error)
- func (p *Redis) ZCount(key, min, max string) (res int64, err error)
- func (p *Redis) ZIncrBy(key string, incr float64, member string) (res float64, err error)
- func (p *Redis) ZRange(key string, start, stop int64) (res []string, err error)
- func (p *Redis) ZRem(key string, members ...interface{}) (res int64, err error)
- func (p *Redis) ZRemRangeByScore(key, min, max string) (res int64, err error)
- func (p *Redis) ZRevRange(key string, start, stop int64) (res []string, err error)
- func (p *Redis) ZRevRangeByScore(key string, max, min string, offset, count int64) (res []string, err error)
- func (p *Redis) ZScore(key, member string) (res float64, err error)
- func (p *Redis) ZUnionStore(dest string, weights []float64, aggregate string, keys ...string) (res int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func (*Redis) BatchHGetAll ¶
func (*Redis) ZRemRangeByScore ¶
func (*Redis) ZRevRangeByScore ¶
Click to show internal directories.
Click to hide internal directories.