mqtt

package
v0.0.0-...-6cd7eb2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTopics

func CreateTopics(prefix string) []models.Topic

CreateTopics creates the pre-defined MQTT Topics

func MainMqttHandler

func MainMqttHandler(a *models.API, prefix, topic string, message []byte)

MainMqttHandler handles all messages on GOST/# and maps them to the appropriate handler. Mapping is needed because of the ODATA (id) format

Types

This section is empty.

Jump to

Keyboard shortcuts

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