You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
splinter98 8293f546af Add support for MQTT server as a notification target (#4474) 7 years ago
..
packets Add support for MQTT server as a notification target (#4474) 7 years ago
CONTRIBUTING.md Add support for MQTT server as a notification target (#4474) 7 years ago
DISTRIBUTION Add support for MQTT server as a notification target (#4474) 7 years ago
LICENSE Add support for MQTT server as a notification target (#4474) 7 years ago
README.md Add support for MQTT server as a notification target (#4474) 7 years ago
about.html Add support for MQTT server as a notification target (#4474) 7 years ago
client.go Add support for MQTT server as a notification target (#4474) 7 years ago
components.go Add support for MQTT server as a notification target (#4474) 7 years ago
edl-v10 Add support for MQTT server as a notification target (#4474) 7 years ago
epl-v10 Add support for MQTT server as a notification target (#4474) 7 years ago
filestore.go Add support for MQTT server as a notification target (#4474) 7 years ago
memstore.go Add support for MQTT server as a notification target (#4474) 7 years ago
message.go Add support for MQTT server as a notification target (#4474) 7 years ago
messageids.go Add support for MQTT server as a notification target (#4474) 7 years ago
net.go Add support for MQTT server as a notification target (#4474) 7 years ago
notice.html Add support for MQTT server as a notification target (#4474) 7 years ago
oops.go Add support for MQTT server as a notification target (#4474) 7 years ago
options.go Add support for MQTT server as a notification target (#4474) 7 years ago
options_reader.go Add support for MQTT server as a notification target (#4474) 7 years ago
ping.go Add support for MQTT server as a notification target (#4474) 7 years ago
router.go Add support for MQTT server as a notification target (#4474) 7 years ago
store.go Add support for MQTT server as a notification target (#4474) 7 years ago
token.go Add support for MQTT server as a notification target (#4474) 7 years ago
topic.go Add support for MQTT server as a notification target (#4474) 7 years ago
trace.go Add support for MQTT server as a notification target (#4474) 7 years ago

README.md

Eclipse Paho MQTT Go client

This repository contains the source code for the Eclipse Paho MQTT Go client library.

This code builds a library which enable applications to connect to an MQTT broker to publish messages, and to subscribe to topics and receive published messages.

This library supports a fully asynchronous mode of operation.

Installation and Build

This client is designed to work with the standard Go tools, so installation is as easy as:

go get github.com/eclipse/paho.mqtt.golang

The client depends on Google's websockets package, also easily installed with the command:

go get golang.org/x/net/websocket

Usage and API

Detailed API documentation is available by using to godoc tool, or can be browsed online using the godoc.org service.

Make use of the library by importing it in your Go client source code. For example,

import "github.com/eclipse/paho.mqtt.golang"

Samples are available in the cmd directory for reference.

Runtime tracing

Tracing is enabled by assigning logs (from the Go log package) to the logging endpoints, ERROR, CRITICAL, WARN and DEBUG

Reporting bugs

Please report bugs by raising issues for this project in github https://github.com/eclipse/paho.mqtt.golang/issues

More information

Discussion of the Paho clients takes place on the Eclipse paho-dev mailing list.

General questions about the MQTT protocol are discussed in the MQTT Google Group.

There is much more information available via the MQTT community site.