package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Sep 21, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Count returns the number of channels
Decode decodes the channel descriptor
type Channel interface {
RegisterCallback(callback OnMessage) error
Publish(msg interface{})
PublishNoWait(msg interface{}) bool
}
Get gets the named channel
Creates a new channel, channels have to be created before the engine starts
type OnMessage func(msg interface{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.