Versions in this module Expand all Collapse all v1 v1.0.1 Jul 13, 2024 Changes in this version + type Conn struct + func New(addr string, password string) *Conn + func (rc *Conn) BLPop(key string, timeout time.Duration) (string, error) + func (rc *Conn) BRPoplpush(source string, destination string, timeout time.Duration) (string, error) + func (rc *Conn) Decr(key string) (int64, error) + func (rc *Conn) Del(key string) error + func (rc *Conn) Expire(key string, expiration time.Duration) error + func (rc *Conn) GeoAdd(key string, longitude, latitude float64, member string) error + func (rc *Conn) GeoRadius(key string, longitude, latitude float64, radius float64, unit string, ...) ([]rd.GeoLocation, error) + func (rc *Conn) GetKeys(key string) ([]string, error) + func (rc *Conn) GetString(key string) (string, error) + func (rc *Conn) Hdel(key, field string) error + func (rc *Conn) Hget(key, field string) (string, error) + func (rc *Conn) Hgetall(key string) (map[string]string, error) + func (rc *Conn) Hincrby(key, field string, increment int) (int64, error) + func (rc *Conn) Hmget(key string, field ...string) ([]string, error) + func (rc *Conn) Hmset(key string, fieldValues ...string) error + func (rc *Conn) Hset(key, field, value string) error + func (rc *Conn) Incr(key string) (int64, error) + func (rc *Conn) LPUSH(key string, values ...interface{}) (int64, error) + func (rc *Conn) Llen(key string) (int64, error) + func (rc *Conn) Lpop(key string) (string, error) + func (rc *Conn) Lrange(key string, start, stop int64) ([]string, error) + func (rc *Conn) Lrem(key string, count int64, value string) (int64, error) + func (rc *Conn) Ltrim(key string, start, stop int64) (string, error) + func (rc *Conn) MSet(keyValues ...string) error + func (rc *Conn) Ping() (string, error) + func (rc *Conn) SAdd(key string, members ...interface{}) error + func (rc *Conn) SMembers(key string) ([]string, error) + func (rc *Conn) SRem(key string, member interface{}) error + func (rc *Conn) Set(key string, value interface{}) error + func (rc *Conn) SetAndExpire(key string, value interface{}, expire time.Duration) error + func (rc *Conn) SetExpire(key string, expire time.Duration) error + func (rc *Conn) Sismember(key, member string) (int, error) + func (rc *Conn) ZAdd(key string, scoremember ...interface{}) error + func (rc *Conn) ZRangeByScore(key string, zrangeBy rd.ZRangeBy) ([]string, error) + func (rc *Conn) ZRem(key string, members ...interface{}) error + func (rc *Conn) ZRemRangeByScore(key string, min string, max string) error + type Field struct + Field string + Value string