A simple implement of consistent hash (hash ring) by Go.
Ensure the project path in $GOPATH.
Get and install the library dependencies:
# install go_lib cd <$GOPATH1/src> # $GOPATH1 is the first part of $GOPATH. git clone https://github.com/hyper-carrot/chash4go.git
cd <your/chash4go/path> go test
See the test files for details.
Copyright (C) 2013
Distributed under the BSD-style license, the same as Go.