1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +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

@ -39,6 +39,8 @@ type ClusterClient struct {
reloading uint32
}
var _ Cmdable = (*ClusterClient)(nil)
// NewClusterClient returns a Redis Cluster client as described in
// http://redis.io/topics/cluster-spec.
func NewClusterClient(opt *ClusterOptions) *ClusterClient {