forked from p93542168/wheat-cache
hash-ring
This commit is contained in:
parent
f228712526
commit
e4e5cd6019
|
@ -0,0 +1,12 @@
|
||||||
|
package hashring
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestTarget_GetAddrString(t *testing.T) {
|
||||||
|
var addrss = []string{"195","444"}
|
||||||
|
target := addAddrString(addrss)
|
||||||
|
fmt.Println(target)
|
||||||
|
}
|
Loading…
Reference in New Issue