wuxibin89 / redis-go-cluster

redis cluster client implementation in Go
Apache License 2.0
488 stars 145 forks source link

added support Ping Cmd for the cluster #30

Closed ankj77 closed 4 years ago

ankj77 commented 5 years ago

This is my First PR in OS , apologies if done anything wrong. During integration i didn't find Ping command for health-check for all nodes in the cluster. Tried building it by myself.

Theory: it will run ping command on individual node and accumulate the response, if any node throws error, it will throw the same err. example :

reply,err := cluster.Ping()

ankj77 commented 4 years ago

closing it..