Our great sponsors
mqttPaho | mdns | |
---|---|---|
3 | 2 | |
2,597 | 1,124 | |
2.3% | 2.1% | |
5.9 | 4.7 | |
17 days ago | 7 days ago | |
Go | Go | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mqttPaho
-
Paho Golang - how to queue failed published messages and resubmit when the connection returns?
The docker example is probably the best place to start (the readme explains how to simulate network loss to test this).
-
How to use MQTT in Golang
This project uses paho.mqtt.golang as MQTT client library, install:
-
Are websockets right for this?
I suggest PubSub with queue persistence, so https://github.com/eclipse/paho.mqtt.golang with https://mosquitto.org/ as broker. Mosquitto also supports websockets interface and can be run over TLS.
mdns
-
mDNS implementation doesn't seem to work
My problem is that, when using jmdns (a JVM implementation for MDNS), there don't seem to be any issues: the service is discovered by my android client. However, when I try to use https://github.com/hashicorp/mdns, the android client isn't able to find it.
-
Terminal chat
I haven’t looked at the code, but you can mdns for discovery on a LAN https://github.com/hashicorp/mdns so that you don’t have to mess with IP addresses.
What are some alternatives?
gmqtt - Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.x and V5 in golang
arp - Package arp implements the ARP protocol, as described in RFC 826. MIT Licensed.
ssh - Easy SSH servers in Golang
gopacket - Provides packet processing capabilities for Go
buffstreams - A library to simplify writing applications using TCP sockets to stream protobuff messages
fasthttp - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
kcp-go - A Crypto-Secure, Production-Grade Reliable-UDP Library for golang with FEC
TerrificProxy - HTTP reverse proxy that uses one basic config.txt file. Learning curve composed of copy paste.
kcptun - A Stable & Secure Tunnel based on KCP with N:M multiplexing and FEC. Available for ARM, MIPS, 386 and AMD64。N:M 多重化と FEC を備えた KCP に基づく安定した安全なトンネル。 N:M 다중화 및 FEC를 사용하는 KCP 기반의 안정적이고 안전한 터널입니다. Un tunnel stable et sécurisé basé sur KCP avec multiplexage N:M et FEC.
httpproxy - HTTP proxy handler and dialer
go-stun - A go implementation of the STUN client (RFC 3489 and RFC 5389)
xtcp - A TCP Server Framework with graceful shutdown, custom protocol.