connect

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

This example simply connects to a MQTT broker and then terminates.

to run: go run ./examples/connect/main.go

The default broker is the publicly available server hosted by the Eclipse foundation, but can be changed by specifying a different host name or IP address with the -server flag.

Jump to

Keyboard shortcuts

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