mqtt

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: MIT Imports: 12 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(logger logger.Logger) *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) Invoke

func (*MQTT) Operations

func (m *MQTT) Operations() []bindings.OperationKind

func (*MQTT) Read

func (m *MQTT) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error

Jump to

Keyboard shortcuts

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