mqtthandler

package
v0.0.0-...-12f6c06 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle interface {
	SendToBroker(e shared.Event)
	Disconnect()
}

Handle for send data to a broker

func New

func New(config *shared.Configuration, handler mqtt.MessageHandler) Handle

New creates a new mqtthandler to creates a client for subscription and publishing

Jump to

Keyboard shortcuts

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