radix.v2
radix.v2 copied to clipboard
Redis client for Go
I'm using redis in cluster mode , have the `*cluster.Cluster`, how do I create a pubsub from the cluster ?
1. zscore will return "$-1" in protocol when there is no cotent in redis,and it aslo will return a float score 2. `func bufioReadResp(r *bufio.Reader) (Resp, error)` will return `Resp{typ:...
https://github.com/mediocregopher/radix.v2/blob/aef73472962515b66e2a8ba260c527a5d0f0db2c/pool/opts.go#L74 // headroom is depleted and then any new requests will be blocked until depleted instead of depleated [0001-Correct-spelling-of-comments.patch.txt](https://github.com/mediocregopher/radix.v2/files/4391951/0001-Correct-spelling-of-comments.patch.txt)
Ping for every socket. Solve EOF after a period of time。
`sentinel.NewClientCustom` uses hardcoded `redis.Dial` at the beginning. Shouldn't it use the same passed `df DialFunc` instead? So one could pass a DialTimeout wrapper.