go-redis
go-redis copied to clipboard
Redis Go client
Is there a way to set a key with a callback function which can be called after expiration?
Each time, struct had to be converted to map and put it in. So I thought it would be better to embed it inside the function.
Our program only needs to execute commands, and we don't care about the result failure. If it fails, it's just an alarm and doesn't do other operations. When I try...
In FailOverClient: why not provide a interface like cluster which we can deal read request on slave node
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much. -...
The following example exist in the docs: https://godoc.org/github.com/go-redis/redis#ex-PubSub 1. pubsub := rdb.Subscribe("mychannel1") 2. 3. // Wait for confirmation that subscription is created before publishing anything. 4. _, err := pubsub.Receive()...
Issue tracker is used for reporting bugs and discussing new features. Please use [stackoverflow](https://stackoverflow.com) for supporting issues. if one executes a command via client.Do() which will return a Slice, the...
Allowing the default dialing function to be wrapped allows for library users to let the library continue to own the logic for dialing and let users wrap the function for...
**What this PR does** This PR adds a new function, `ParseClusterURL`, which takes a string and turns it into the array of addresses used for redis in cluster mode along...
Hi! First, thanks for such a great library. In our production environment we noticed that Redis can sometimes return errors such as "LOADING redis is loading the dataset in memory"....