mqtt

package
v0.0.0-...-9f61de0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() (mqtt.Client, error)

Types

type Connection

type Connection struct {
	Client          mqtt.Client
	ResourceChannel chan db.ResourceMessage
}

func NewConnection

func NewConnection() *Connection

func (*Connection) StartSender

func (c *Connection) StartSender()

func (*Connection) StartStatusReceiver

func (c *Connection) StartStatusReceiver()

Jump to

Keyboard shortcuts

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