Documentation
¶
Index ¶
- type ConnPool
- func (rc *ConnPool) Brpop(key string, timeoutSeconds int) ([]string, error)
- func (rc *ConnPool) Decr(key string) (int64, error)
- func (rc *ConnPool) DelKey(key string) (interface{}, error)
- func (rc *ConnPool) ExistsKey(key string) (bool, error)
- func (rc *ConnPool) ExpireKey(key string, seconds int) (interface{}, error)
- func (rc *ConnPool) Get(key string) (string, error)
- func (rc *ConnPool) GetErrNil(key string) (string, error)
- func (rc *ConnPool) Hdel(key string, field []string) (interface{}, error)
- func (rc *ConnPool) Hexists(key string, field string) (bool, error)
- func (rc *ConnPool) Hget(key string, field string) (string, error)
- func (rc *ConnPool) Hgetall(key string) (map[string]string, error)
- func (rc *ConnPool) Hlen(key string) (int, error)
- func (rc *ConnPool) Hmget(key string, field []string) ([]string, error)
- func (rc *ConnPool) Hmset(key string, fieldValue map[string]string) (interface{}, error)
- func (rc *ConnPool) Hset(key string, field string, value string) (interface{}, error)
- func (rc *ConnPool) Incr(key string) (int64, error)
- func (rc *ConnPool) Llen(key string) (int, error)
- func (rc *ConnPool) Lpush(key string, value []string) (interface{}, error)
- func (rc *ConnPool) LuaScriptZset(script, key string, score int64, member string) (interface{}, error)
- func (rc *ConnPool) Rpop(key string) (string, error)
- func (rc *ConnPool) Sadd(key string, member []string) (interface{}, error)
- func (rc *ConnPool) Scard(key string) (int, error)
- func (rc *ConnPool) Set(key string, value string) (interface{}, error)
- func (rc *ConnPool) SetExpire(key string, value string, seconds int) (interface{}, error)
- func (rc *ConnPool) Smembers(key string) ([]string, error)
- func (rc *ConnPool) Srem(key string, member []string) (interface{}, error)
- func (rc *ConnPool) Zadd(key string, score int64, member string) (interface{}, error)
- func (rc *ConnPool) Zcard(key string) (int, error)
- func (rc *ConnPool) Zrange(key string, start, stop int) ([]string, error)
- func (rc *ConnPool) Zrem(key string, member string) (interface{}, error)
- func (rc *ConnPool) Zremrangebyrank(key string, start, stop int) (interface{}, error)
- func (rc *ConnPool) Zremrangebyscore(key string, min, max int64) (interface{}, error)
- func (rc *ConnPool) Zrevrange(key string, start, stop int) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnPool ¶
type ConnPool struct {
// contains filtered or unexported fields
}
ConnPool redis连接池
func (*ConnPool) LuaScriptZset ¶ added in v1.2.0
func (rc *ConnPool) LuaScriptZset(script, key string, score int64, member string) (interface{}, error)
LuaScriptZset for SortedSet
func (*ConnPool) Zremrangebyrank ¶
Zremrangebyrank for SortedSet
func (*ConnPool) Zremrangebyscore ¶
Zremrangebyscore for SortedSet
Click to show internal directories.
Click to hide internal directories.