# go-mqtt-example **Repository Path**: hopebj2008/go-mqtt-example ## Basic Information - **Project Name**: go-mqtt-example - **Description**: go下使用MQTT的方法 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://github.com/CloudMQTT - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-02 - **Last Updated**: 2022-06-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Go MQTT Example This is a simple Go example on how to interact with MQTT. This example sends a messages every second and the same process receive the message and prints it to the console. ## Getting started * Make sure you have [dep](https://github.com/golang/dep) installed * Clone this repo `git clone https://github.com/CloudMQTT/go-mqtt-example.git` * `export CLOUDMQTT_URL=mqtt://:@.cloudmqtt.com:/` * Run `make` to download dependencies and run the application