gomqttclient

package module
v0.0.0-...-2dd351b Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 5 Imported by: 0

README

go-mqtt-client

Test of providing a lib for another project as a git repo.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitClient

func InitClient(c Config)

func Publish

func Publish(payload string)

func Receive

func Receive() <-chan string

Types

type Config

type Config struct {
	Protocol string
	Broker   string
	Port     int
	Topic    string
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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