package
Version:
v1.6.11
Opens a new window with list of versions in this module.
Published: Oct 24, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 15
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.