Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
cmd/ | H | 18-Apr-2019 | - | 1,064 | 765 | |
fvt/ | H | 18-Apr-2019 | - | 213 | 146 | |
packets/ | H | 18-Apr-2019 | - | 1,420 | 1,118 | |
.gitignore | H A D | 18-Apr-2019 | 430 | 36 | 29 | |
CONTRIBUTING.md | H A D | 18-Apr-2019 | 2.2 KiB | 57 | 33 | |
DISTRIBUTION | H A D | 18-Apr-2019 | 1.5 KiB | 16 | 8 | |
LICENSE | H A D | 18-Apr-2019 | 11 KiB | 87 | 44 | |
README.md | H A D | 18-Apr-2019 | 2.2 KiB | 68 | 39 | |
client.go | H A D | 18-Apr-2019 | 22.1 KiB | 760 | 580 | |
components.go | H A D | 18-Apr-2019 | 760 | 32 | 14 | |
edl-v10 | H A D | 18-Apr-2019 | 1.5 KiB | 16 | 8 | |
epl-v10 | H A D | 18-Apr-2019 | 11 KiB | 71 | 44 | |
filestore.go | H A D | 18-Apr-2019 | 6.1 KiB | 256 | 185 | |
fvt_client_test.go | H A D | 18-Apr-2019 | 26.8 KiB | 1,082 | 740 | |
fvt_store_test.go | H A D | 18-Apr-2019 | 10.8 KiB | 545 | 399 | |
fvt_test.go | H A D | 18-Apr-2019 | 806 | 37 | 15 | |
memstore.go | H A D | 18-Apr-2019 | 3.5 KiB | 139 | 96 | |
message.go | H A D | 18-Apr-2019 | 2.5 KiB | 128 | 90 | |
messageids.go | H A D | 18-Apr-2019 | 2.3 KiB | 118 | 85 | |
net.go | H A D | 18-Apr-2019 | 9.3 KiB | 356 | 297 | |
oops.go | H A D | 18-Apr-2019 | 445 | 22 | 6 | |
options.go | H A D | 18-Apr-2019 | 12 KiB | 341 | 190 | |
options_reader.go | H A D | 18-Apr-2019 | 3.1 KiB | 150 | 102 | |
ping.go | H A D | 18-Apr-2019 | 2 KiB | 70 | 46 | |
router.go | H A D | 18-Apr-2019 | 5 KiB | 188 | 132 | |
store.go | H A D | 18-Apr-2019 | 3.6 KiB | 137 | 86 | |
token.go | H A D | 18-Apr-2019 | 4.6 KiB | 185 | 117 | |
token_test.go | H A D | 18-Apr-2019 | 171 | 15 | 11 | |
topic.go | H A D | 18-Apr-2019 | 2.5 KiB | 83 | 35 | |
trace.go | H A D | 18-Apr-2019 | 1.1 KiB | 41 | 16 | |
unit_client_test.go | H A D | 18-Apr-2019 | 2.1 KiB | 107 | 74 | |
unit_message_test.go | H A D | 18-Apr-2019 | 1.5 KiB | 67 | 44 | |
unit_messageids_test.go | H A D | 18-Apr-2019 | 1.1 KiB | 58 | 32 | |
unit_options_test.go | H A D | 18-Apr-2019 | 2.7 KiB | 127 | 85 | |
unit_ping_test.go | H A D | 18-Apr-2019 | 1.5 KiB | 64 | 41 | |
unit_router_test.go | H A D | 18-Apr-2019 | 4.9 KiB | 319 | 220 | |
unit_store_test.go | H A D | 18-Apr-2019 | 12.8 KiB | 580 | 441 | |
unit_topic_test.go | H A D | 18-Apr-2019 | 1.1 KiB | 48 | 28 |
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