Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeRandomiser ¶
type NodeRandomiser interface { UpdateNodeIDs([]gpa.NodeID) IsInitted() bool GetRandomOtherNodeIDs(int) []gpa.NodeID }
func NewNodeRandomiser ¶
func NewNodeRandomiserNoInit ¶
func NewNodeRandomiserNoInit(me gpa.NodeID, log *logger.Logger) NodeRandomiser
Before using the returned NodeRandomiser, it must be initted: UpdateNodeIDs method must be called.
Click to show internal directories.
Click to hide internal directories.