star

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2018 License: Apache-2.0 Imports: 3 Imported by: 19

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 NewSocket

func NewSocket() (mangos.Socket, error)

NewSocket allocates a new Socket using the STAR protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL