-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Is there any notion of SSE in go micro ?
I ask because although have used it for ages with nats , it’s also taking off in MCP and htmx.
Also openapi golang systems often support SSE. For example huma at https://github.com/danielgtaylor/huma produces a http and sse server off any golang package. No code gen .
https://github.com/micro/blog would then be real time such that if a page changed it would update automatically without users needing to refresh . Just a simple example of a real time web gui , and how it is useful for devs and developers that want to build more real time apps with micro framework.
Another example of SSE is https://github.com/starfederation/datastar/blob/develop/examples/go/hello-world/main.go
Datastar eliminates the JS code in a browser and allows html to be pushed and merged into the browser. It works very well with nats and nats cli.
SSE would of course also allow MCP
Thankyou for the amazing architecture .