HashRing represents the consistent hash ring
| 14 | |
| 15 | // HashRing represents the consistent hash ring |
| 16 | type HashRing struct { |
| 17 | nodes []Node |
| 18 | hashes []uint32 |
| 19 | lock sync.RWMutex |
| 20 | } |
| 21 | |
| 22 | // NewHashRing creates a new HashRing |
| 23 | func NewHashRing() *HashRing { |
nothing calls this directly
no outgoing calls
no test coverage detected