Versions in this module Expand all Collapse all v0 v0.1.1 Oct 28, 2022 Changes in this version + func DeepEqual(a, b Endpoint) (yes bool) + type Balancer interface + Add func(peers ...Endpoint) + All func() []Endpoint + Clear func() + Count func() int + Remove func(peer Endpoint) + func New(opts ...Opt) Balancer + type Constrainable interface + CanConstrain func(o interface{}) (yes bool) + Check func(o interface{}) (satisfied bool) + type DeepEqualAware interface + DeepEqual func(b Endpoint) bool + type Endpoint interface + String func() string + type Factor interface + Factor func() string + type FactorComparable interface + ConstrainedBy func(constraints interface{}) (peer Endpoint, c Constrainable, satisfied bool) + type FactorString string + const DummyFactor + func (s FactorString) Factor() string + type Opt func(balancer Balancer)