mqtt

package
v0.1.64 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(config *config.MQTTConfig, publishHandler paho.MessageHandler, topic string) *Client

func (*Client) Disconnect

func (c *Client) Disconnect()

func (*Client) Publish

func (c *Client) Publish(topic string, qos byte, retained bool, bytes []byte)

Jump to

Keyboard shortcuts

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