Mainflux.mainflux/pkg/messaging
Darko Draskovic 8b2ae46324
Add READMEs to pkg packages (#1352)
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
2021-02-04 20:04:41 +01:00
..
mqtt NOISSUE - Fix MQTT Forwarder client id (#1309) 2020-12-17 17:17:33 +01:00
nats MF-1199 - Add NATS messaging tests (#1209) 2020-07-14 18:11:27 +02:00
README.md Add READMEs to pkg packages (#1352) 2021-02-04 20:04:41 +01:00
message.pb.go MF-1190 - Add pkg for library packages (#1191) 2020-06-03 15:16:19 +02:00
message.proto MF-1190 - Add pkg for library packages (#1191) 2020-06-03 15:16:19 +02:00
pubsub.go MF-1190 - Add pkg for library packages (#1191) 2020-06-03 15:16:19 +02:00

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.