这是indexloc提供的服务,不要输入任何密码
Skip to content

SSE in go micro #2788

@joeblew999

Description

@joeblew999

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions