This commit is contained in:
Chris Lu
2020-05-10 03:50:30 -07:00
parent 6bf3eb69cb
commit 39e72fb23c
13 changed files with 15 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
package broker
import (
"github.com/cespare/xxhash"
"github.com/buraksezer/consistent"
"github.com/cespare/xxhash"
)
type Member string
@@ -35,4 +35,4 @@ func PickMember(members []string, key []byte) string {
m := c.LocateKey(key)
return m.String()
}
}