Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashRing ¶
type HashRing struct { Table []RingNode // contains filtered or unexported fields }
func (*HashRing) GenerateCircle ¶
func (h *HashRing) GenerateCircle()
This code is partially derived from https://github.com/serialx/hashring
func (*HashRing) GetAllNodePositions ¶
func (*HashRing) GetNodePosition ¶
Click to show internal directories.
Click to hide internal directories.