Documentation ¶
Overview ¶
Package pubsub implements a simple multi-topic pub-sub library.
Topics must be strings and messages of any type can be published. A topic can have any number of subscribers and all of them receive messages published on the topic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCongestionMsgLost = errors.New("PubSub Congestion: message lost, try again")
Functions ¶
This section is empty.
Types ¶
type PubSub ¶
type PubSub interface { Publisher Subscriber Shutdown() }
Click to show internal directories.
Click to hide internal directories.