code: func GetDanglingEndpoints() []Endpoint {
  	es := make([]Endpoint, 0, len(danglingEndpoints))
  	danglingEndpointsMu.Lock()
  	for e := range danglingEndpoints {
  		es = append(es, e)
  	}
  	danglingEndpointsMu.Unlock()
  	return es
  }
docs: // GetDanglingEndpoints returns all dangling endpoints.