go-libp2p-gorpc
go-libp2p-gorpc copied to clipboard
Example streaming usage
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?
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...