golang

command
v0.0.0-...-aeb5700 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

README

Example of subscribing to the server and receiving a message, written in Go.

  1. Install go itself: https://golang.org/doc/install
  2. Make sure it is available in your environment export PATH=$PATH:/usr/local/go/bin
  3. Install dependencies: go get github.com/eclipse/paho.mqtt.golang and go get golang.org/x/net/proxy
  4. Build the binary: go build main.go
  5. Run the program ./main

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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