Our great sponsors
mdns | mqttPaho | |
---|---|---|
2 | 3 | |
1,124 | 2,597 | |
2.1% | 2.3% | |
4.7 | 5.9 | |
9 days ago | 18 days ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
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.
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.
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.
What are some alternatives?
arp - Package arp implements the ARP protocol, as described in RFC 826. MIT Licensed.
gmqtt - Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.x and V5 in golang
gopacket - Provides packet processing capabilities for Go
ssh - Easy SSH servers in Golang
fasthttp - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
buffstreams - A library to simplify writing applications using TCP sockets to stream protobuff messages
TerrificProxy - HTTP reverse proxy that uses one basic config.txt file. Learning curve composed of copy paste.
kcp-go - A Crypto-Secure, Production-Grade Reliable-UDP Library for golang with FEC
httpproxy - HTTP proxy handler and dialer
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.
xtcp - A TCP Server Framework with graceful shutdown, custom protocol.
go-stun - A go implementation of the STUN client (RFC 3489 and RFC 5389)