tile38/vendor/github.com/eclipse/paho.mqtt.golang
Josh Baker 26d0083faf Update vendoring to use golang/dep
commit a1a37d335a8e89ac89d85c00c8585d3fc02e064a
Author: Josh Baker <joshbaker77@gmail.com>
Date:   Thu Oct 5 07:36:54 2017 -0700

    use symlink instead of copy

commit 96399c2c92620f633611c778e5473200bfd48d41
Author: Josh Baker <joshbaker77@gmail.com>
Date:   Thu Oct 5 07:19:26 2017 -0700

    use dep for vendoring
2017-10-05 07:40:19 -07:00
..
cmd Added MQTT endpoint 2017-03-08 00:15:18 +03:00
fvt Added MQTT endpoint 2017-03-08 00:15:18 +03:00
packets Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
.gitignore Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
CONTRIBUTING.md Added MQTT endpoint 2017-03-08 00:15:18 +03:00
DISTRIBUTION Added MQTT endpoint 2017-03-08 00:15:18 +03:00
LICENSE Added MQTT endpoint 2017-03-08 00:15:18 +03:00
README.md Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
about.html Added MQTT endpoint 2017-03-08 00:15:18 +03:00
client.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
components.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
edl-v10 Added MQTT endpoint 2017-03-08 00:15:18 +03:00
epl-v10 Added MQTT endpoint 2017-03-08 00:15:18 +03:00
filestore.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
fvt_client_test.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
fvt_store_test.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
fvt_test.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
memstore.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
message.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
messageids.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
net.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
notice.html Added MQTT endpoint 2017-03-08 00:15:18 +03:00
oops.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
options.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
options_reader.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
ping.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
router.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
store.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
token.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
topic.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
trace.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
unit_client_test.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
unit_messageids_test.go Update vendoring to use golang/dep 2017-10-05 07:40:19 -07:00
unit_options_test.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
unit_ping_test.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
unit_router_test.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
unit_store_test.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00
unit_topic_test.go Added MQTT endpoint 2017-03-08 00:15:18 +03:00

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 and proxy package, also easily installed with the commands:

go get golang.org/x/net/websocket
go get golang.org/x/net/proxy

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.