Skip to content

damir-bdr/mqtt_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

mqtt_test

Installing Mosquitto MQTT Messaging Broker

Build example

$ make

Run example

in first terminal start mqttex_server with arguments

$ ./mqttex_server aaa bbb ccc

in second terminal start mqttex_client with arguments

$ ./mqttex_client aaa bbb ccc

Dependencies

This example uses paho.mqtt.golang library. To install:

$ make deps

During the installation of paho.mqtt.golang some problems with packages golang.org/x/net/proxy and golang.org/x/net/websocket are possible. To solve it use commands:

$ cd $GOPATH/src
$ git clone https://github.com/golang/net.git golang.org/x/net

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published