We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package main import ( "github.com/chasex/redis-go-cluster" "time" ) var ClusterPool redis.Cluster var Err error func main() { host := "127.0.0.1" ClusterPool, Err = redis.NewCluster( &redis.Options{ StartNodes: []string{ host+":6379", host+":6380", host+":6381", host+":6382", host+":6383", host+":6384"}, ConnTimeout: 50 * time.Millisecond, ReadTimeout: 50 * time.Millisecond, WriteTimeout: 50 * time.Millisecond, KeepAlive: 16, AliveTime: 60 * time.Second, })
run main.go
console: no invalid node in [127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 127.0.0.1:6382 127.0.0.1:6383 127.0.0.1:6384]
where?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
run main.go
console:
no invalid node in [127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 127.0.0.1:6382 127.0.0.1:6383 127.0.0.1:6384]
where?
The text was updated successfully, but these errors were encountered: