• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

cmd/H24-Dec-2016-

fvt/H24-Dec-2016-

packets/H24-Dec-2016-

.gitignoreH A D24-Dec-2016430

CONTRIBUTING.mdH A D24-Dec-20162.2 KiB

DISTRIBUTIONH A D24-Dec-20161.5 KiB

LICENSEH A D24-Dec-201611 KiB

README.mdH A D24-Dec-20161.9 KiB

client.goH A D24-Dec-201616.2 KiB

components.goH A D24-Dec-2016760

edl-v10H A D24-Dec-20161.5 KiB

epl-v10H A D24-Dec-201611 KiB

filestore.goH A D24-Dec-20165.8 KiB

fvt_client_test.goH A D24-Dec-201624.6 KiB

fvt_store_test.goH A D24-Dec-201610.8 KiB

fvt_test.goH A D24-Dec-2016812

memstore.goH A D24-Dec-20163.5 KiB

message.goH A D24-Dec-20162.1 KiB

messageids.goH A D24-Dec-20161.1 KiB

net.goH A D24-Dec-20167.6 KiB

oops.goH A D24-Dec-2016445

options.goH A D24-Dec-201610.4 KiB

ping.goH A D24-Dec-20161.9 KiB

router.goH A D24-Dec-20164.5 KiB

store.goH A D24-Dec-20163.4 KiB

token.goH A D24-Dec-20164.1 KiB

topic.goH A D24-Dec-20162.5 KiB

trace.goH A D24-Dec-2016817

unit_client_test.goH A D24-Dec-20161.2 KiB

unit_messageids_test.goH A D24-Dec-20161.9 KiB

unit_options_test.goH A D24-Dec-20162.7 KiB

unit_ping_test.goH A D24-Dec-20161.5 KiB

unit_router_test.goH A D24-Dec-20164.3 KiB

unit_store_test.goH A D24-Dec-201612.8 KiB

unit_topic_test.goH A D24-Dec-20161.1 KiB

README.md

1Eclipse Paho MQTT Go client
2===========================
3
4
5This repository contains the source code for the [Eclipse Paho](http://eclipse.org/paho) MQTT Go client library.
6
7This code builds a library which enable applications to connect to an [MQTT](http://mqtt.org) broker to publish messages, and to subscribe to topics and receive published messages.
8
9This library supports a fully asynchronous mode of operation.
10
11
12Installation and Build
13----------------------
14
15This client is designed to work with the standard Go tools, so installation is as easy as:
16
17```
18go get github.com/eclipse/paho.mqtt.golang
19```
20
21The client depends on Google's [websockets](https://godoc.org/golang.org/x/net/websocket) package,
22also easily installed with the command:
23
24```
25go get golang.org/x/net/websocket
26```
27
28
29Usage and API
30-------------
31
32Detailed API documentation is available by using to godoc tool, or can be browsed online
33using the [godoc.org](http://godoc.org/github.com/eclipse/paho.mqtt.golang) service.
34
35Make use of the library by importing it in your Go client source code. For example,
36```
37import "github.com/eclipse/paho.mqtt.golang"
38```
39
40Samples are available in the `/samples` directory for reference.
41
42
43Runtime tracing
44---------------
45
46Tracing is enabled by assigning logs (from the Go log package) to the logging endpoints, ERROR, CRITICAL, WARN and DEBUG
47
48
49Reporting bugs
50--------------
51
52Please report bugs by raising issues for this project in github https://github.com/eclipse/paho.mqtt.golang/issues
53
54
55More information
56----------------
57
58Discussion of the Paho clients takes place on the [Eclipse paho-dev mailing list](https://dev.eclipse.org/mailman/listinfo/paho-dev).
59
60General questions about the MQTT protocol are discussed in the [MQTT Google Group](https://groups.google.com/forum/?hl=en-US&fromgroups#!forum/mqtt).
61
62There is much more information available via the [MQTT community site](http://mqtt.org).
63