Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
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.
https://nats.io sounds like a good fit for what you're trying to do. In a nutshell, it is a high-performance messaging system written in Go which supports a variety of patterns like request-reply, publish-subscribe, etc. Applications connect to NATS, and from there all communication occurs via subject-based messaging. It gives a common dial-tone for everything to talk together and abstracts the underlying network.