type endpointHash …
type endpointHashObj …
func hashEndpoint(endpoint *discovery.Endpoint) endpointHash { … }
type EndpointSet …
func (s EndpointSet) Insert(items ...*discovery.Endpoint) EndpointSet { … }
func (s EndpointSet) Delete(items ...*discovery.Endpoint) EndpointSet { … }
func (s EndpointSet) Has(item *discovery.Endpoint) bool { … }
func (s EndpointSet) Get(item *discovery.Endpoint) *discovery.Endpoint { … }
func (s EndpointSet) UnsortedList() []*discovery.Endpoint { … }
func (s EndpointSet) PopAny() (*discovery.Endpoint, bool) { … }
func (s EndpointSet) Len() int { … }