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

Redis Go client

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

``` type User struct { Id int `json:"id" redis:"id"` Username string `json:"username" redis:"username"` Password string `json:"password" redis:"-"` Age int `json:"age" redis:"age"` } func (receiver *User) MarshalBinary() (data []byte, err error)...

Hello, it looks like `extra/rediscmd/v9.5.3` and `extra/redisotel/v9.5.3` tags were removed from the repo, but those versions are still listed in https://pkg.go.dev/github.com/redis/go-redis/extra/rediscmd/[email protected]?tab=versions and https://pkg.go.dev/github.com/redis/go-redis/extra/redisotel/v9?tab=versions. This breaks some automated package version updates...

This PR is mildly related to #3088. Callsites within the connection pool implementation that start asynchronous/background connection dials (for example, adding an idle connection to fulfill the required minimum idle...

Is it possible to add the interface like this

Stale

The `ClusterClient` is configured such that if the cluster nodes that are discovered have a loopback IP provided as their address (e.g. 127.0.0.1), that the address of the origin that...

bug
incomplete

``` messages, err := t.client.XRange(ctx, t.streamName, fromSeq, "+ COUNT 1").Result() ``` Possibility to provide "+ count 1" as stop argument or stop as "+" and option count 1 ## Current...

## Expected Behavior Monitor command should work. ## Current Behavior If you do not set a large `ReadTimeout` on the client when using the monitor command then the socket timeout...

`UniversalOptions` doesn't support a `ReplicaOnly` option, but it `UniversalClient` can support creating `FailoverClient` if a `MasterName` is provided. a `FailoverClient` can support routing commands to a replica behind Sentinel if...

Recently, we have received many questions regarding creating a large number of connections in go-redis. When a connection is deemed no longer available due to context or write/read timeouts, we...

Proposal