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

..03-May-2022-

cmd/H18-Apr-2019-1,064765

fvt/H18-Apr-2019-213146

packets/H18-Apr-2019-1,4201,118

.gitignoreH A D18-Apr-2019430 3629

CONTRIBUTING.mdH A D18-Apr-20192.2 KiB5733

DISTRIBUTIONH A D18-Apr-20191.5 KiB168

LICENSEH A D18-Apr-201911 KiB8744

README.mdH A D18-Apr-20192.2 KiB6839

client.goH A D18-Apr-201922.1 KiB760580

components.goH A D18-Apr-2019760 3214

edl-v10H A D18-Apr-20191.5 KiB168

epl-v10H A D18-Apr-201911 KiB7144

filestore.goH A D18-Apr-20196.1 KiB256185

fvt_client_test.goH A D18-Apr-201926.8 KiB1,082740

fvt_store_test.goH A D18-Apr-201910.8 KiB545399

fvt_test.goH A D18-Apr-2019806 3715

memstore.goH A D18-Apr-20193.5 KiB13996

message.goH A D18-Apr-20192.5 KiB12890

messageids.goH A D18-Apr-20192.3 KiB11885

net.goH A D18-Apr-20199.3 KiB356297

oops.goH A D18-Apr-2019445 226

options.goH A D18-Apr-201912 KiB341190

options_reader.goH A D18-Apr-20193.1 KiB150102

ping.goH A D18-Apr-20192 KiB7046

router.goH A D18-Apr-20195 KiB188132

store.goH A D18-Apr-20193.6 KiB13786

token.goH A D18-Apr-20194.6 KiB185117

token_test.goH A D18-Apr-2019171 1511

topic.goH A D18-Apr-20192.5 KiB8335

trace.goH A D18-Apr-20191.1 KiB4116

unit_client_test.goH A D18-Apr-20192.1 KiB10774

unit_message_test.goH A D18-Apr-20191.5 KiB6744

unit_messageids_test.goH A D18-Apr-20191.1 KiB5832

unit_options_test.goH A D18-Apr-20192.7 KiB12785

unit_ping_test.goH A D18-Apr-20191.5 KiB6441

unit_router_test.goH A D18-Apr-20194.9 KiB319220

unit_store_test.goH A D18-Apr-201912.8 KiB580441

unit_topic_test.goH A D18-Apr-20191.1 KiB4828

README.md

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