| 26 | type Hash func(data []byte) uint32 |
| 27 | |
| 28 | type Map struct { |
| 29 | hash Hash |
| 30 | replicas int |
| 31 | keys []int // Sorted |
| 32 | hashMap map[int]string |
| 33 | } |
| 34 | |
| 35 | func New(replicas int, fn Hash) *Map { |
| 36 | m := &Map{ |
nothing calls this directly
no outgoing calls
no test coverage detected