Documentation ¶
Overview ¶
Package star implements a new, experimental protocol called "STAR". This is like the BUS protocol, except that each member of the network automatically forwards any message it receives to any other peers. In a star network, this means that all members should receive all messages, assuming that there is a central server. Its important to ensure that the topology is free from cycles, as there is no protection against that, and cycles can lead to infinite message storms. (TODO: Add a TTL, and basic message ID / anti-replay protection.)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProtocol ¶
NewProtocol returns a new STAR protocol object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.