Versions in this module Expand all Collapse all v1 v1.0.0 Aug 7, 2021 Changes in this version + func Connect(config map[string]interface{}) *redis.Pool + func ToInt(data interface{}) int + func ToString(data interface{}) string + type RedisClient struct + Conn *redis.Pool + OK string + func NewClient(config map[string]interface{}) *RedisClient + func (this *RedisClient) Blpop(key string, timeout int) []string + func (this *RedisClient) BrPopLpush(key, key1 string, timeout int) string + func (this *RedisClient) Brpop(key string, timeout int) []string + func (this *RedisClient) Command(cmd string, keys ...interface{}) (str string, err error) + func (this *RedisClient) Del(key string) (bool, error) + func (this *RedisClient) Get(key string) string + func (this *RedisClient) Hdel(key string, agrs ...interface{}) int + func (this *RedisClient) Hexists(key string, agrs ...interface{}) int + func (this *RedisClient) Hget(key string, agrs ...interface{}) string + func (this *RedisClient) Hgetall(key string) map[string]string + func (this *RedisClient) Hkeys(key string) []string + func (this *RedisClient) Hlen(key string) int + func (this *RedisClient) Hmget(key string, field interface{}) string + func (this *RedisClient) Hmset(key string, field, value interface{}) bool + func (this *RedisClient) Lindex(key string, index int) string + func (this *RedisClient) Llen(key string) int + func (this *RedisClient) Lpop(key string) string + func (this *RedisClient) Lpush(key string, args ...interface{}) int + func (this *RedisClient) Lrem(key string, count int, value interface{}) int + func (this *RedisClient) RedisExpire(key string, expire int) + func (this *RedisClient) Rpop(key string) string + func (this *RedisClient) RpopLpush(key, key1 string) (string, error) + func (this *RedisClient) Set(key, str string, args ...int) bool + func (this *RedisClient) SetNx(key, str string, args ...int) bool