Versions in this module Expand all Collapse all v0 v0.2.0 Jan 18, 2023 v0.1.0 Jan 18, 2023 Changes in this version + type ConfigRedis struct + DbIndex int + IP string + IdleTimeout int + MaxActive int + MaxIdle int + Password string + Port int + type ErrorMapStringBool struct + type RedisModule struct + func (m *RedisModule) DelHash(args ...interface{}) error + func (m *RedisModule) DelString(key interface{}) error + func (m *RedisModule) DelStringKeyList(keys []interface{}) (map[interface{}]bool, error) + func (m *RedisModule) EXPlREInsert(key string, TTl int) error + func (m *RedisModule) ExistsKey(key interface{}) (bool, error) + func (m *RedisModule) GetAllHashJSON(redisKey string) (map[string]string, error) + func (m *RedisModule) GetHash(redisKey interface{}, fieldKey interface{}) (string, error) + func (m *RedisModule) GetListLen(key string) (int, error) + func (m *RedisModule) GetMuchHash(args ...interface{}) ([]string, error) + func (m *RedisModule) GetString(key interface{}) (string, error) + func (m *RedisModule) GetStringJSON(key string, st interface{}) error + func (m *RedisModule) GetStringMap(keys []string) (retMap map[string]string, err error) + func (m *RedisModule) HGetStruct(key string, out_val interface{}) error + func (m *RedisModule) HSetStruct(key string, val interface{}) error + func (m *RedisModule) HincrbyHashInt(redisKey, hashKey string, value int) error + func (m *RedisModule) Init(redisCfg *ConfigRedis) + func (m *RedisModule) Keys(key string) ([]string, error) + func (m *RedisModule) LPushList(args ...interface{}) error + func (m *RedisModule) LPushListJSON(key interface{}, value ...interface{}) error + func (m *RedisModule) LRange(key string, start, stop int) ([]byte, error) + func (m *RedisModule) LRangeJSON(key string, start, stop int, data interface{}) error + func (m *RedisModule) LRangeList(key string, start, end int) ([]string, error) + func (m *RedisModule) LTrimList(key string, start, end int) error + func (m *RedisModule) ListPop(key string, fromLeft, block bool, timeout int) ([]byte, error) + func (m *RedisModule) ListPopJson(key string, fromLeft, block bool, timeout int, out interface{}) error + func (m *RedisModule) OnRelease() + func (m *RedisModule) RPOPListValue(key string) (string, error) + func (m *RedisModule) RPushList(args ...interface{}) error + func (m *RedisModule) RPushListJSON(key interface{}, value ...interface{}) error + func (m *RedisModule) ScanMatchKeys(cursorValue int, redisKey string, count int) (int, []string, error) + func (m *RedisModule) SetHash(redisKey, hashKey, value interface{}) error + func (m *RedisModule) SetHashMapJSON(redisKey string, mapFieldValue map[interface{}]interface{}) error + func (m *RedisModule) SetMuchStringExpire(mapInfo map[interface{}]interface{}, ex string) (err error) + func (m *RedisModule) SetString(key, value interface{}) (err error) + func (m *RedisModule) SetStringExpire(key, value, expire string) (err error) + func (m *RedisModule) SetStringJSON(key interface{}, val interface{}) (err error) + func (m *RedisModule) SetStringJSONExpire(key interface{}, val interface{}, expire string) (err error) + func (m *RedisModule) SetStringMap(mapInfo map[interface{}]interface{}) (err error) + func (m *RedisModule) TestPingRedis() error + func (m *RedisModule) ZADDInsert(key string, score float64, Data interface{}) error + func (m *RedisModule) ZADDInsertJson(key string, score float64, value interface{}) error + func (m *RedisModule) ZREM(key string, member interface{}) (int, error) + func (m *RedisModule) ZREMMulti(key string, member ...interface{}) (int, error) + func (m *RedisModule) ZREMRANGEBYSCORE(key string, start, stop interface{}) error + func (m *RedisModule) ZRange(key string, start, stop int, ascend bool, withScores bool) ([]byte, error) + func (m *RedisModule) ZRangeByScore(key string, start, stop float64, ascend bool, withScores bool) ([]byte, error) + func (m *RedisModule) ZRangeByScoreJSON(key string, start, stop float64, ascend bool, withScores bool, ...) error + func (m *RedisModule) ZRangeJSON(key string, start, stop int, ascend bool, withScores bool, data interface{}) error + func (m *RedisModule) ZRank(key string, member interface{}, ascend bool) (int, error) + func (m *RedisModule) ZScore(key string, member interface{}) (float64, error) + func (m *RedisModule) Zcard(key string) (int, error) + func (m *RedisModule) Zremrangebyrank(redisKey string, start, end interface{}) (int, error) + type RetError struct + func (slf *RetError) Get() error + type RetMapString struct + func (slf *RetMapString) Get() (error, map[string]bool) + type ZSetDataWithScore struct + Data json.RawMessage + Score float64