mayqtt

package
v0.0.0-...-7e8a2ca Latest Latest
Warning

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

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

Documentation

Overview

Package mayqtt implements an MQTT client which receives scan requests from scan2drive/cmd/scan and publishes status to scan2drive/ui/status.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MQTT

func MQTT(scanRequests chan *scan2drive.ScanRequest)

func Publishf

func Publishf(format string, args ...interface{})

Types

type PublishRequest

type PublishRequest struct {
	Topic    string
	Qos      byte
	Retained bool
	Payload  interface{}
}

Jump to

Keyboard shortcuts

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