ip_range_counter.go
func CheckIPRangeCounts(counts map[string]int, limits []int) bool {
	for prefix, count := range counts {
		ipParts := strings.Split(prefix, ":")
		numParts := len(ipParts)
		if limits[numParts] < count {
			return false
		}
	}
	return true
}
func CheckIPRangeCounts(counts map[string]int, limits []int) bool {
	for prefix, count := range counts {
		ipParts := strings.Split(prefix, ":")
		numParts := len(ipParts)
		if limits[numParts] < count {
			return false
		}
	}
	return true
}
// TODO Test