jason 075d766964 first | 3 жил өмнө | |
---|---|---|
.. | ||
cmd | 3 жил өмнө | |
fvt | 3 жил өмнө | |
packets | 3 жил өмнө | |
.gitignore | 3 жил өмнө | |
CONTRIBUTING.md | 3 жил өмнө | |
DISTRIBUTION | 3 жил өмнө | |
LICENSE | 3 жил өмнө | |
README.md | 3 жил өмнө | |
about.html | 3 жил өмнө | |
client.go | 3 жил өмнө | |
components.go | 3 жил өмнө | |
edl-v10 | 3 жил өмнө | |
epl-v10 | 3 жил өмнө | |
filestore.go | 3 жил өмнө | |
fvt_client_test.go | 3 жил өмнө | |
fvt_store_test.go | 3 жил өмнө | |
fvt_test.go | 3 жил өмнө | |
memstore.go | 3 жил өмнө | |
message.go | 3 жил өмнө | |
messageids.go | 3 жил өмнө | |
net.go | 3 жил өмнө | |
notice.html | 3 жил өмнө | |
oops.go | 3 жил өмнө | |
options.go | 3 жил өмнө | |
options_reader.go | 3 жил өмнө | |
ping.go | 3 жил өмнө | |
router.go | 3 жил өмнө | |
store.go | 3 жил өмнө | |
token.go | 3 жил өмнө | |
token_test.go | 3 жил өмнө | |
topic.go | 3 жил өмнө | |
trace.go | 3 жил өмнө | |
unit_client_test.go | 3 жил өмнө | |
unit_message_test.go | 3 жил өмнө | |
unit_messageids_test.go | 3 жил өмнө | |
unit_options_test.go | 3 жил өмнө | |
unit_ping_test.go | 3 жил өмнө | |
unit_router_test.go | 3 жил өмнө | |
unit_store_test.go | 3 жил өмнө | |
unit_topic_test.go | 3 жил өмнө |
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.
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
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.
Tracing is enabled by assigning logs (from the Go log package) to the logging endpoints, ERROR, CRITICAL, WARN and DEBUG
Please report bugs by raising issues for this project in github https://github.com/eclipse/paho.mqtt.golang/issues
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.