package
Version:
v0.0.0-...-81451b2
Opens a new window with list of versions in this module.
Published: Mar 23, 2023
License: GPL-3.0
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
¶
type Event interface {
Event() string
}
Event is the interface for events
type PubSub interface {
Subscribe() chan Event
Publish(Event)
Close()
Wait()
}
PubSub is the interface for pubsubs
Operate create and start a new pubsub using channels
Source Files
¶
Click to show internal directories.
Click to hide internal directories.