mqtt

package
v0.0.0-...-da2e59c Latest Latest
Warning

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

Go to latest
Published: May 31, 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 Publisher

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

func NewPublisher

func NewPublisher(ctx context.Context, wg *sync.WaitGroup, broker string, user string, pw string, client string, qos uint8, debug bool) (mqtt *Publisher, err error)

func (*Publisher) Publish

func (this *Publisher) Publish(topic string, msg string) (err error)

Jump to

Keyboard shortcuts

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