Versions in this module Expand all Collapse all v0 v0.0.1 Mar 12, 2024 Changes in this version + const AFTER + const APPEND + const AUTH + const BEFORE + const BGREWRITEAOF + const BGSAVE + const BLPOP + const BRPOP + const BRPOPLPUSH + const CLIENT_GETNAME + const CLIENT_KILL + const CLIENT_LIST + const CLIENT_PAUSE + const CLIENT_SETNAME + const CLUSTER_SLOTS + const COMMAND + const COMMAND_COUNT + const COMMAND_GETKEYS + const COMMAND_INFO + const CONFIG_GET + const CONFIG_RESETSTAT + const CONFIG_REWRITE + const CONFIG_SET + const COUNT + const CREATE + const CREATECONSUMER + const DBSIZE + const DEBUG_OBJECT + const DEBUG_SEGFAULT + const DECR + const DECRBY + const DEL + const DISCARD + const DUMP + const ECHO + const EVAL + const EVALSHA + const EXEC + const EXIST + const EXPIRE + const EXPIREAT + const FLUSHALL + const FLUSHDB + const GEOADD + const GEODIST + const GEOHASH + const GEOPOS + const GEORADIUS + const GEORADIUSBYMEMBER + const GET + const GETBIT + const GETRANGE + const GETSET + const GROUP + const HDEL + const HEXISTS + const HGET + const HGETALL + const HINCRBY + const HINCRBYFLOAT + const HKEYS + const HLEN + const HMGET + const HMSET + const HSCAN + const HSET + const HSETNX + const HVALS + const INCR + const INCRBY + const INCRBYFLOAT + const INFO + const JSON_ARR_APPEND + const JSON_ARR_INDEX + const JSON_ARR_INSERT + const JSON_ARR_LEN + const JSON_ARR_POP + const JSON_ARR_TRIM + const JSON_CLEAR + const JSON_DEBUG + const JSON_DEBUG_MEMORY + const JSON_DEL + const JSON_FORGET + const JSON_GET + const JSON_MGET + const JSON_NUM_INCRBY + const JSON_NUM_MULTBY + const JSON_OBJLEN + const JSON_OBJ_KEYS + const JSON_RESP + const JSON_SET + const JSON_STR_APPEND + const JSON_STR_LEN + const JSON_TOGGLE + const JSON_TYPE + const Json + const KEYS + const LASTSAVE + const LINDEX + const LINSERT + const LLEN + const LPOP + const LPUSH + const LPUSHX + const LRANGE + const LREM + const LSET + const LTRIM + const MATCH + const MGET + const MONITOR + const MOVE + const MSET + const MSETNX + const MULTI + const PERSIST + const PEXPIRE + const PFADD + const PFCOUNT + const PFMERGE + const PING + const PSETEX + const PSUBSCRIBE + const PTTL + const PUBLISH + const PUBSUB + const PUNSUBSCRIBE + const QUIT + const RENAME + const RENAMENX + const ROLE + const RPOP + const RPOPLPUSH + const RPUSH + const RPUSHX + const SADD + const SAVE + const SCAN + const SCARD + const SCRIPT_EXISTS + const SCRIPT_FLUSH + const SCRIPT_KILL + const SCRIPT_LOAD + const SDIFF + const SDIFFSTORE + const SELECT + const SET + const SETBIT + const SETEX + const SETNX + const SETRANGE + const SHUTDOWN + const SINTER + const SINTERSTORE + const SISMEMBER + const SLAVEOF + const SLOWLOG + const SMEMBERS + const SMOVE + const SPOP + const SRANDMEMBER + const SREM + const SSCAN + const STREAMS + const STRLEN + const SUBSCRIBE + const SUNION + const SUNIONSTORE + const SYNC + const TIME + const TTL + const TYPE + const UNSUBSCRIBE + const UNWATCH + const WATCH + const XACK + const XADD + const XCLAIM + const XDEL + const XGROUP + const XGROUP_DELCONSUMER + const XGROUP_DESTROY + const XGROUP_SETID + const XINFO + const XINFO_GROUPS + const XINFO_STREAM + const XLEN + const XPENDING + const XRANGE + const XREAD + const XREADGROUP + const XREVRANGE + const XTRIM + const ZADD + const ZCARD + const ZCOUNT + const ZINCRBY + const ZINTERSTOR + const ZLEXCOUNT + const ZRANGE + const ZRANGEBYLEX + const ZRANGEBYSCORE + const ZRANK + const ZREM + const ZREMRANGEBYLEX + const ZREMRANGEBYRANK + const ZREMRANGEBYSCORE + const ZREVRANGE + const ZREVRANGEBYSCORE + const ZREVRANK + const ZSCAN + const ZSCORE + const ZUNIONSTORE + func FnSpawnConn(fn ConnToErr) (err *util.Err) + func GetConn() (redis.Conn, *util.Err) + func InitRedis(opts ...RedisOption) + func JsonGetSlice[T any](conn redis.Conn, key string, v *[]T, fields ...string) *util.Err + func JsonGet[T any](conn redis.Conn, key string, v *T, fields ...string) *util.Err + func JsonSet(conn redis.Conn, key string, obj any, fields ...string) *util.Err + func JsonSetStr(conn redis.Conn, key string, str string, fields ...string) *util.Err + func Lock(key string, fn func(), opts ...redsync.Option) *util.Err + func Scan(conn redis.Conn, match string, step int, fn util.FnStrSlc) *util.Err + func SpawnConn() redis.Conn + type ConnToErr func(redis.Conn) *util.Err + type Redis struct + func NewRedis(opts ...RedisOption) *Redis + func (r *Redis) GetConn() (redis.Conn, *util.Err) + func (r *Redis) Lock(key string, fn func(), opts ...redsync.Option) *util.Err + func (r *Redis) SpawnConn() redis.Conn + type RedisOption func(*redisRedisOption) + func ConnFac(fac ToRedisConnError) RedisOption + func ConnPool(pool *redis.Pool) RedisOption + type ToRedisConn func() redis.Conn + type ToRedisConnErr func() (redis.Conn, *util.Err) + type ToRedisConnError func() (redis.Conn, error)