msg

package
v0.0.0-...-236d2f3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MqttMessageHandler

func MqttMessageHandler(client mqtt.Client, msg mqtt.Message, c chan bool)

Types

type Msg

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

func New

func New(topic string, broker string, user string, password string) *Msg

func (*Msg) Listen

func (m *Msg) Listen(c chan bool)

func (*Msg) Message

func (m *Msg) Message(msg string)

Jump to

Keyboard shortcuts

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