Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToMQTT ¶
func ConnectToMQTT() error
func ConnectToMongoDB ¶
func ConnectToMongoDB() error
func CopyStructFields ¶
func GetMongoDbCollection ¶
func GetMongoDbCollection(collectionName string) *mongo.Collection
func SubscribeMQTT ¶
func SubscribeMQTT(topic string, callback mqtt.MessageHandler) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.