modulepackage
0.0.1
Repository: https://github.com/nmasse-itix/mqtt-archiver.git
Documentation: pkg.go.dev
# Packages
Copyright © 2022 Nicolas MASSE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
# Functions
NewMqttClient creates a new MQTT client and connects to the broker.
SetMqttLogger sets the logger to be used by the underlying MQTT library.
# Structs
An Archiver represents the process of archiving MQTT events to S3.
An EventLogEntry represents a single event received from the MQTT broker.
An MqttConfig represents the required information to connect to an MQTT broker.
An S3Config represents the mandatory parameters to connect to an S3 service.