jason 075d766964 first 3 jaren geleden
..
cmd 075d766964 first 3 jaren geleden
fvt 075d766964 first 3 jaren geleden
packets 075d766964 first 3 jaren geleden
.gitignore 075d766964 first 3 jaren geleden
CONTRIBUTING.md 075d766964 first 3 jaren geleden
DISTRIBUTION 075d766964 first 3 jaren geleden
LICENSE 075d766964 first 3 jaren geleden
README.md 075d766964 first 3 jaren geleden
about.html 075d766964 first 3 jaren geleden
client.go 075d766964 first 3 jaren geleden
components.go 075d766964 first 3 jaren geleden
edl-v10 075d766964 first 3 jaren geleden
epl-v10 075d766964 first 3 jaren geleden
filestore.go 075d766964 first 3 jaren geleden
fvt_client_test.go 075d766964 first 3 jaren geleden
fvt_store_test.go 075d766964 first 3 jaren geleden
fvt_test.go 075d766964 first 3 jaren geleden
memstore.go 075d766964 first 3 jaren geleden
message.go 075d766964 first 3 jaren geleden
messageids.go 075d766964 first 3 jaren geleden
net.go 075d766964 first 3 jaren geleden
notice.html 075d766964 first 3 jaren geleden
oops.go 075d766964 first 3 jaren geleden
options.go 075d766964 first 3 jaren geleden
options_reader.go 075d766964 first 3 jaren geleden
ping.go 075d766964 first 3 jaren geleden
router.go 075d766964 first 3 jaren geleden
store.go 075d766964 first 3 jaren geleden
token.go 075d766964 first 3 jaren geleden
token_test.go 075d766964 first 3 jaren geleden
topic.go 075d766964 first 3 jaren geleden
trace.go 075d766964 first 3 jaren geleden
unit_client_test.go 075d766964 first 3 jaren geleden
unit_message_test.go 075d766964 first 3 jaren geleden
unit_messageids_test.go 075d766964 first 3 jaren geleden
unit_options_test.go 075d766964 first 3 jaren geleden
unit_ping_test.go 075d766964 first 3 jaren geleden
unit_router_test.go 075d766964 first 3 jaren geleden
unit_store_test.go 075d766964 first 3 jaren geleden
unit_topic_test.go 075d766964 first 3 jaren geleden

README.md

GoDoc Go Report Card

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.