Documentation
¶
Overview ¶
Package pubsub implements cluster-wide publishing and subscribing of events
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
Broker is a pubsub Broker implemented using postgres' listen/notify
func (*Broker) Publish ¶ added in v0.0.33
Publish sends an event to subscribers, via postgres to subscribers on other machines, and via the local broker to subscribers within the same process.
func (*Broker) Register ¶
Register a means of reassembling a postgres message back into an otf event
Click to show internal directories.
Click to hide internal directories.