-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
👋 Are you using go-sse? #24
Comments
I do, for now it's the exact right tool for my needs. I'll let you know if I have ideas |
Hi, I'm implementing a small go project. I found this and it looks like exactly what I need, but I'm still somewhat new to Go and having trouble understanding how to implement it. I managed to get a simple proof of concept working, that sent random messages every 1s, using labstack's echo router. But I'm struggling to go beyond that and make the sse only send messages on certain events, for example when one of my objects has a state change. I'm guessing I need to implement the provider for that, so that my other functions elsewhere can send a message to the queue and which then gets published to all the subscribers. But my inexperience is hampering my progress. |
Hi @gostega, thank you for giving Could you maybe open a new discussion and share the code, along with a broader explanation of what you're trying to achieve and what doesn't work? I should be able to assist you better this way. EDIT: You should find some advice in #28. I've hidden your subsequent comment in this issue to keep the feed clean. If you could and want I would appreciate it a lot if you could broadly describe your use-case for |
This comment was marked as resolved.
This comment was marked as resolved.
Just to add my project here: https://github.com/hiveot/hub. This projects provides an IoT hub for communication between devices, services and users. Go-sse is used as a return channel together with https for posting requests. The use-case is simply as a transport to send messages from the server to a single client. |
Hi there,
If you're using
go-sse
for any kind of project or trying to evaluate whethergo-sse
is the right tool for your project, please let me know here what you're usinggo-sse
or planning to use for!This will help me tremendously in planning the development of the library, designing its API and testing it properly. And if you're not sure whether you should use it or feel like it's missing something, by chiming in here we can find a path to make
go-sse
the right choice for you!Thank you for the support!
P.S. Make sure to see the roadmap to v1 and the proposals to keep up to date with
go-sse
's development!The text was updated successfully, but these errors were encountered: