func (ch *ConsistentHash) searchFn(hashcode uint64) func(index int) bool {
	return func(index int) bool {
		return ch.hashring[index].Hashcode >= hashcode
	}
}
// searchFn returns a closure searching for a given hashcode.
searchFn returns a closure searching for a given hashcode.
// searchFn returns a closure searching for a given hashcode .
func (ch *ConsistentHash) searchFn(hashcode uint64) func(index int) bool {
	return func(index int) bool {
		return ch.hashring[index].Hashcode >= hashcode
	}
}
func ( ch * ConsistentHash ) searchFn ( hashcode uint64 ) func ( index int ) bool { return func ( index int ) bool { return ch . hashring [ index ] . Hashcode >= hashcode } }
searchFn returns a closure searching for a given hashcode.
searchFn returns a closure searching for a given hashcode .