go-redis icon indicating copy to clipboard operation
go-redis copied to clipboard

Redis Go client

Results 292 go-redis issues
Sort by recently updated
recently updated
newest added

While migrating one of my projects to v8, I realized that there are still `context` fields left, which don't server any purpose anymore after https://github.com/go-redis/redis/pull/1493. So I propose to remove...

Part of: #1392 ### Description This PR adds read/write metrics to go-redis/redis. The following instruments were added: - The number of reads - The number of bytes written - The...

Add AgentCmd for external parsing

enhancement
invalid

### Discussed in https://github.com/go-redis/redis/discussions/2069 Originally posted by **ray2011** April 7, 2022 ![image](https://user-images.githubusercontent.com/7893714/162110695-261fe5d8-7923-47de-9028-bf01a5023e33.png) Is this safe for all redis commands?

Does go-redis plan to support redis stack?

Reviving this issue: https://github.com/go-redis/redis/issues/563 `SELECT` doesn't work with clustered Redis, so it's not an appropriate replacement for key prefixing in that case.

Issue tracker is used for reporting bugs and discussing new features. Please use [stackoverflow](https://stackoverflow.com) for supporting issues. go-redis/redis version: v8.11.4 ``` sentinelOptions = &redis.FailoverOptions{ MasterName: options.SentinelMaster, SentinelUsername: options.SentinelUser, SentinelPassword: options.SentinelPass,...

According to https://redis.io/commands/expire the `EXPIRE` command can have the `NX` parameter. I can't find a command like `ExpireNX()` or a parameter for `Expire()` Am I missing something ? Thanks 🙏

We have a ElasticCache Redis cluster with cluster mode enabled. It has two shards. When we call ClusterClient.Scan(0, "{partition}*", ....), it randomly picks a node to scan instead of finding...

Stale