clientmqtt

package
v0.0.0-...-242e768 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientMQTT

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

ClientMQTT структура клиента MQTT.

func NewClient

func NewClient(log app.Logger, cfgClient app.ClientMQTTConf, serverName string, cgfServ app.ServerMQTTConf) *ClientMQTT

NewClient конструктор.

func (*ClientMQTT) Start

func (c *ClientMQTT) Start(ctx context.Context, pointsCh chan<- app.Point) error

func (*ClientMQTT) Stop

func (c *ClientMQTT) Stop() error

Jump to

Keyboard shortcuts

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