Balancer yields endpoints according to some heuristic.
| 8 | |
| 9 | // Balancer yields endpoints according to some heuristic. |
| 10 | type Balancer interface { |
| 11 | Endpoint() (endpoint.Endpoint, error) |
| 12 | } |
| 13 | |
| 14 | // ErrNoEndpoints is returned when no qualifying endpoints are available. |
| 15 | var ErrNoEndpoints = errors.New("no endpoints available") |
no outgoing calls
no test coverage detected
searching dependent graphs…