Mainflux.mainflux/vendor/github.com/eclipse/paho.mqtt.golang
Manuel Imperiale 21ab52576c MF-166 - Add lora-adapter service (#481)
* MF-166 - Add lora-adapter service (#416)

* MF-166 - Add lora-adapter service

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix NATS connexion and use credentials with gRPC

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Forward lora msgs to nats

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Add make cmd and docker-compose

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Define lora conf as private

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Rename funcs fix nats conn

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Update README and fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Rm NATS sub

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* MF-166 - Add lora-adapter service  (#461)

* MF-166 - Add lora-adapter service

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix NATS connexion and use credentials with gRPC

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Forward lora msgs to nats

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Add make cmd and docker-compose

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Define lora conf as private

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Rename funcs fix nats conn

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Update README and fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Rm NATS sub

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix lora server topic and logs

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix HTTP port

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* NOISSUE - Add event sourcing client to LoRa adapter (#471)

* Add event sourcing client to LoRa adapter

Signed-off-by: Aleksandar Novaković <anovakovic01@gmail.com>

* Update redis version in docker compose and update env vars

Signed-off-by: Aleksandar Novaković <anovakovic01@gmail.com>

* Add ES subscription to main LoRa function

Signed-off-by: Aleksandar Novaković <anovakovic01@gmail.com>

* Add new env vars to readme file of LoRa adapter

Signed-off-by: Aleksandar Novaković <anovakovic01@gmail.com>

* Add message acknowledgement to LoRa adapter

Signed-off-by: Aleksandar Novaković <anovakovic01@gmail.com>

* Add handling of empty values to event sourcing client (#474)

Signed-off-by: Aleksandar Novaković <anovakovic01@gmail.com>

* Add routemap and handle event sourcing

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix eventStore decoding

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Mv docker-compose in docker/addons

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix routemap and logs

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Update Gopkg.toml

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix route map and typos

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Update README

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2018-12-04 20:08:30 +01:00
..
packets MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
.gitignore MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
CONTRIBUTING.md MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
DISTRIBUTION MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
LICENSE MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
README.md MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
about.html MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
client.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
components.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
edl-v10 MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
epl-v10 MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
filestore.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
memstore.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
message.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
messageids.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
net.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
notice.html MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
oops.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
options.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
options_reader.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
ping.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
router.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
store.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
token.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
topic.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00
trace.go MF-166 - Add lora-adapter service (#481) 2018-12-04 20:08:30 +01:00

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.