(err error, format string, args ...interface{})
| 69 | } |
| 70 | |
| 71 | func (s *Sentinel) errorf(err error, format string, args ...interface{}) { |
| 72 | if s.ErrFunc != nil { |
| 73 | s.ErrFunc(err, format, args...) |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | func (s *Sentinel) do(sentinel string, timeout time.Duration, |
| 78 | fn func(client *Client) error) error { |
no outgoing calls
no test coverage detected