ketama
ketama copied to clipboard
public Ring type
This PR turns private hashRing
type into public Ring
type. That way value returned by NewRing
can be passed as an argument or a property. Additionally, I made a few tiny changes to make code a little bit more idiomatic.