mirror of
https://github.com/redis/go-redis.git
synced 2025-07-25 08:21:55 +03:00
Merge branch 'master' into ndyakov/token-based-auth
This commit is contained in:
@ -927,6 +927,9 @@ type ClusterClient struct {
|
||||
// NewClusterClient returns a Redis Cluster client as described in
|
||||
// http://redis.io/topics/cluster-spec.
|
||||
func NewClusterClient(opt *ClusterOptions) *ClusterClient {
|
||||
if opt == nil {
|
||||
panic("redis: NewClusterClient nil options")
|
||||
}
|
||||
opt.init()
|
||||
|
||||
c := &ClusterClient{
|
||||
|
Reference in New Issue
Block a user