func (spc *EndpointPortCache) numEndpoints() int {
	num := 0
	for _, eInfo := range spc.items {
		num += eInfo.Endpoints
	}
	return num
}
// numEndpoints returns the total number of endpoints represented by a
// EndpointPortCache.
numEndpoints returns the total number of endpoints represented by a
EndpointPortCache.
// numEndpoints returns the total number of endpoints represented by a // EndpointPortCache .
func (spc *EndpointPortCache) numEndpoints() int {
	num := 0
	for _, eInfo := range spc.items {
		num += eInfo.Endpoints
	}
	return num
}
func ( spc * EndpointPortCache ) numEndpoints ( ) int { num := 0 for _ , eInfo := range spc . items { num += eInfo . Endpoints } return num }
numEndpoints returns the total number of endpoints represented by a
EndpointPortCache.
numEndpoints returns the total number of endpoints represented by a EndpointPortCache .