Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
The Bus allows publish-subscribe-style communication between components/modules
func (*Bus) Emit ¶
Send sends an event to all subscribed listeners. Parameter data is optional ; Send can only have one map parameter.
func (*Bus) EmitWithMessage ¶
EmitWithMessage sends an event to all subscribed listeners. Parameter data is optional ; EmitWithMessage can only have one map parameter.
Click to show internal directories.
Click to hide internal directories.