mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-26 13:48:53 +08:00

* Initial commit Signed-off-by: 0x6f736f646f <blackd0t@protonmail.com> * Initial commit Signed-off-by: 0x6f736f646f <blackd0t@protonmail.com> * increase message durability Signed-off-by: 0x6f736f646f <blackd0t@protonmail.com> * inline err check Signed-off-by: 0x6f736f646f <blackd0t@protonmail.com> * Remove quality of service and priority Signed-off-by: 0x6f736f646f <blackd0t@protonmail.com> Signed-off-by: 0x6f736f646f <blackd0t@protonmail.com> Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
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 or RabbitMQ.
Publisher
interface defines methods used to publish messages to a message broker such as MQTT or NATS or RabbitMQ.
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.