code: func (s *service) assignIPToEndpoint(ip, eID string) (bool, int) {
  	return s.ipToEndpoint.Insert(ip, eID)
  }
docs: // assignIPToEndpoint inserts the mapping between the IP and the endpoint identifier
  // returns true if the mapping was not present, false otherwise
  // returns also the number of endpoints associated to the IP