(endpoints []string)
| 127 | } |
| 128 | |
| 129 | func newConsistentHash(endpoints []string) routing.LBAlgorithm { |
| 130 | return newConsistentHashInternal(endpoints, 100) |
| 131 | } |
| 132 | |
| 133 | func hash(s string) uint64 { |
| 134 | return xxhash.Sum64String(s) |
searching dependent graphs…