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

Example streaming usage #119

Open
vaultec81 opened this issue Sep 21, 2024 · 1 comment
Open

Example streaming usage #119

vaultec81 opened this issue Sep 21, 2024 · 1 comment

Comments

@vaultec81
Copy link

Hi, I can't seem to find any good examples of streaming using gorpc. I was able to hack together a basic example, but it doesn't seem to be receiving any messages. Normal send/receive without doing streaming works fine. Are there any good example usages for accomplishing streaming?

@hsanjuan
Copy link
Collaborator

hmm yes for example: https://github.com/ipfs-cluster/ipfs-cluster/blob/master/rpc_api.go#L218-L220

Essentially you work with in/out channels...

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

No branches or pull requests

2 participants