gochat-mqtt

command module
v0.0.0-...-137f3be Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2015 License: MIT Imports: 10 Imported by: 0

README

gochat-mqtt

A simple chat program to demonstrate MQTT with Go, using the Eclipse Paho Go client

Build

Requires Go, obviously...

Set the GOPATH and GOBIN variables appropriately, then...

$ go get git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git
$ go install gochat-mqtt.go

Run

$ gochat-mqtt --help
Usage of gochat-mqtt:
  -name="user201": Username to be displayed
  -room="gochat": The chat room to enter. default 'gochat'
  -server="tcp://iot.eclipse.org:1883": The MQTT server to connect to

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