mqttservice

package
v0.2.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MqttService

type MqttService struct {
	// contains filtered or unexported fields
}

MqttService is a struct that holds the MQTT client options and the MQTT client

func NewMqttService

func NewMqttService(db db.DB) *MqttService

NewMqttService creates a new MqttService

func (*MqttService) LogIntoDB

func (m *MqttService) LogIntoDB(MQTT mqtt.Client, message mqtt.Message)

Log the message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL