proxy.golang.org : github.com/rday/go-redis
Package redis provides both clients and connectors for the Redis server. Both synchronous and asynchronous interaction modes are supported. Asynchronous clients (using the asynchronous connection) use pipelining. Usage example: Asynchronous semantics are defined by redis.AsyncClient interface type. Note that these clients use a pipelining connector and a single instance can be used by multiple go routines. Use of pipelining increases throughput at the cost of latency. If low latency is more important to you than throughput, and you require async call semantics, then you should use only 1 go routine per AsyncClient connection. Usage example without timeouts (caller blocks on Get until the response from Redis has been processed.) Usage example with timeouts - same Redis op as above but here we use TryGet on the Future result with a timeout of 1 msecs:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/rday/go-redis
License: Apache-2.0
Latest release: almost 13 years ago
First release: over 13 years ago
Namespace: github.com/rday
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago