Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { shezmu.BaseDaemon // contains filtered or unexported fields }
Consumer extends Shezmu's BaseDaemon with pub/sub features.
type Publisher ¶
Publisher is the interface that wraps message publishers. Error handling should be provided by the implementation. Feel free to panic.
type Streamer ¶
type Streamer interface { Messages() <-chan []byte Close() }
Streamer is the interface that wraps message consumers. Error handling should be provided by the implementation. Feel free to panic.
type Subscriber ¶
Subscriber is the interface that is used by daemons to subscribe to messages.
Click to show internal directories.
Click to hide internal directories.