| 102 | hash uint64 // hash of endpoint |
| 103 | } |
| 104 | consistentHash struct { |
| 105 | hashRing []endpointHash // list of endpoints sorted by hash value |
| 106 | } |
| 107 | ) |
| 108 | |
| 109 | func (ch *consistentHash) Len() int { return len(ch.hashRing) } |
nothing calls this directly
no outgoing calls
no test coverage detected