mqtt

package
v0.0.0-...-dfea14c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQTT

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

MQTT allows sending and receiving data to/from an MQTT broker

func NewMQTT

func NewMQTT() *MQTT

NewMQTT returns a new MQTT instance

func (*MQTT) Init

func (m *MQTT) Init(metadata bindings.Metadata) error

Init does MQTT connection parsing

func (*MQTT) Read

func (m *MQTT) Read(handler func(*bindings.ReadResponse) error) error

func (*MQTT) Write

func (m *MQTT) Write(req *bindings.WriteRequest) error

Jump to

Keyboard shortcuts

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