1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Add Pipeline to Cmdable.

This commit is contained in:
Vladimir Mihailenco
2016-09-27 09:24:14 +00:00
parent 1c402b7989
commit 0b706418d9
4 changed files with 9 additions and 2 deletions

View File

@ -133,6 +133,8 @@ type Ring struct {
closed bool
}
var _ Cmdable = (*Ring)(nil)
func NewRing(opt *RingOptions) *Ring {
const nreplicas = 100
opt.init()