Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
Bus provides a mechanism for the send messages to a collection of channels in unicast/broadcast way
func (*Bus) Destroy ¶
func (b *Bus) Destroy()
Destroy returns the number of nodes in the Broadcast Bus.
type MsgCtrl ¶
type MsgCtrl struct {
// contains filtered or unexported fields
}
MsgCtrl is an internal structure to pack messages together with info about sender and receivers
type Node ¶
Node represents node of a Broadcast bus.
func (*Node) Close ¶
func (n *Node) Close()
Close removes the node it is called on from its broadcast bus.
Click to show internal directories.
Click to hide internal directories.