tile38/vendor/github.com/eclipse/paho.mqtt.golang
tidwall cfc65a13f6 Refactor repository and build scripts
This commit includes updates that affects the build, testing, and
deployment of Tile38.

- The root level build.sh has been broken up into multiple scripts
  and placed in the "scripts" directory.

- The vendor directory has been updated to follow the Go modules
  rules, thus `make` should work on isolated environments. Also
  some vendored packages may have been updated to a later
  version, if needed.

- The Makefile has been updated to allow for making single
  binaries such as `make tile38-server`. There is some scaffolding
  during the build process, so from now on all binaries should be
  made using make. For example, to run a development version of
  the tile38-cli binary, do this:
     make tile38-cli && ./tile38-cli
  not this:
     go run cmd/tile38-cli/main.go

- Travis.CI docker push script has been updated to address a
  change to Docker's JSON repo meta output, which in turn fixes
  a bug where new Tile38 versions were not being properly pushed
  to Docker
2019-11-18 10:33:15 -07:00
..
packets Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
.gitignore Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
CONTRIBUTING.md Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
DISTRIBUTION Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
LICENSE Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
README.md Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
about.html Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
client.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
components.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
edl-v10 Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
epl-v10 Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
filestore.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
memstore.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
message.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
messageids.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
net.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
notice.html Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
oops.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
options.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
options_reader.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
ping.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
router.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
store.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
token.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
topic.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
trace.go Refactor repository and build scripts 2019-11-18 10:33:15 -07: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.