Skip to content

zhoudianyou/gochat-mqtt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Simple chat program to demonstrate MQTT with Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%