8b2ae46324
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com> |
||
---|---|---|
.. | ||
mqtt | ||
nats | ||
README.md | ||
message.pb.go | ||
message.proto | ||
pubsub.go |
README.md
Messaging
messaging
package defines Publisher
, Subscriber
and an aggregate Pubsub
interface.
Subscriber
interface defines methods used to subscribe to a message broker such as MQTT or NATS.
Publisher
interface defines methods used to publish messages to a message broker such as MQTT or NATS.
Pubsub
interface is composed of Publisher
and Subscriber
interface and can be used to send messages to as well as to receive messages from a message broker.