An open API service indexing awesome lists of open source software.

https://github.com/knwoop/go-grpc-downloader

Server streaming RPC --- 1 request/many responses
https://github.com/knwoop/go-grpc-downloader

Last synced: 6 months ago
JSON representation

Server streaming RPC --- 1 request/many responses

Awesome Lists containing this project

README

          

# Server streaming RPC --- 1 request/many responses

## compile .proto file
```
protoc -I ./proto --go_out=plugins=grpc:./proto/ ./proto/file.proto
```
## run gRPC server
```
$ go run ./server
```
## execute gRPC client
```
$ go run ./client $FILE_NAME
```