Discover Packages
github.com/batchcorp/plumber
backends
mqtt
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Sep 16, 2020
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Read is the entry point function for performing read operations in RabbitMQ.
This is where we verify that the provided arguments and flag combination
makes sense/are valid; this is also where we will perform our initial conn.
Write is the entry point function for performing write operations in MQTT.
This is where we verify that the passed args and flags combo makes sense,
attempt to establish a connection, parse protobuf before finally attempting
to perform the write.
Write is a wrapper for amqp Publish method. We wrap it so that we can mock
it in tests, add logging etc.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.