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
- Host: GitHub
- URL: https://github.com/knwoop/go-grpc-downloader
- Owner: knwoop
- Created: 2019-05-06T06:31:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-27T18:19:52.000Z (almost 7 years ago)
- Last Synced: 2025-04-01T23:40:26.318Z (over 1 year ago)
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```