Versions in this module Expand all Collapse all v0 v0.8.0 Dec 3, 2022 Changes in this version + type Balancer interface + Next func() []*Endpoint + type Config struct + CertFile string + Endpoints []*EndpointConfig + KeyFile string + func (c *Config) NewEndpoints(fn breaker.OnStateChangeFunc) (*Endpoints, error) + type Endpoint struct + Client *http.Client + Password string + URL string + Username string + func (e *Endpoint) Update(success bool) + func (e *Endpoint) Usable() bool + type EndpointConfig struct + Breaker breaker.Config + CAFile string + Password string + URL string + Username string + type Endpoints struct + func (es *Endpoints) List() []*Endpoint + func (es *Endpoints) RoundRobin() Balancer