Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HashRing ¶
type HashRing struct {
// contains filtered or unexported fields
}
func (*HashRing) GetNodeForKey ¶
GetNodeForKey returns Node corresponding to given key. Error can occur if Node is not found
func (*HashRing) NodeExists ¶
NodeExists returns true if node exists in hash ring, false otherwise
func (*HashRing) RemoveNode ¶
Click to show internal directories.
Click to hide internal directories.