Skip to content
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

Open
tmaxmax opened this issue Feb 5, 2024 · 5 comments
Open

👋 Are you using go-sse? #24

tmaxmax opened this issue Feb 5, 2024 · 5 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@tmaxmax
Copy link
Owner

tmaxmax commented Feb 5, 2024

Hi there,

If you're using go-sse for any kind of project or trying to evaluate whether go-sse is the right tool for your project, please let me know here what you're using go-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!

@tmaxmax tmaxmax added this to the v1 milestone Feb 5, 2024
@tmaxmax tmaxmax pinned this issue Feb 5, 2024
@tmaxmax tmaxmax changed the title Are you using go-sse? 👋 Are you using go-sse? Feb 5, 2024
@tmaxmax tmaxmax mentioned this issue Feb 5, 2024
29 tasks
@tmaxmax tmaxmax added the good first issue Good for newcomers label Feb 6, 2024
@GreyXor
Copy link

GreyXor commented Feb 13, 2024

I do, for now it's the exact right tool for my needs. I'll let you know if I have ideas

@gostega
Copy link

gostega commented Mar 16, 2024

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.

@tmaxmax
Copy link
Owner Author

tmaxmax commented Mar 16, 2024

Hi @gostega, thank you for giving go-sse a try!

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 go-sse in your initial comment, as an edit!

@gostega

This comment was marked as resolved.

@hspaay
Copy link

hspaay commented Jun 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants