Open gedw99 opened 3 months ago
actually, the gui is working with simple rest + websocket messages to keep it simple, but yes another viable solution is to have an embedded nats server (if that's what you mean) that bridge both FE request and relay subscriptions to external servers
I use the pattern to manage nats servers .
for example to upgrade a nats super cluster you need to do a dance in the right order .
So nats upgrading nats .
You can also just use nats to manage nats.
so the gui is build with nats.js
so the server is build with nats.go, that is listening to the NATS listen. I guess your using the NATS Monirpign port ?
then the gui is reactive and updates in real time.
just a pattern I use...