proxy.golang.org : github.com/rday/go-redis : v0.0.0-20120206181954-703a27cdccc6
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 -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/rday/[email protected]
Published:
Indexed: