Ping checks all instances if they are alive. Returns error if any of them is down.
()
| 781 | // Ping checks all instances if they are alive. Returns error if any |
| 782 | // of them is down. |
| 783 | func (c *Client) Ping() error { |
| 784 | return c.selector.Each(c.ping) |
| 785 | } |
| 786 | |
| 787 | // Increment atomically increments key by delta. The return value is |
| 788 | // the new value after being incremented or an error. If the value |