https://github.com/cirocosta/hello-grpc
sample hello world grpc client & service
https://github.com/cirocosta/hello-grpc
go golang grpc
Last synced: 2 months ago
JSON representation
sample hello world grpc client & service
- Host: GitHub
- URL: https://github.com/cirocosta/hello-grpc
- Owner: cirocosta
- Created: 2019-12-30T15:50:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-30T16:43:49.000Z (over 6 years ago)
- Last Synced: 2025-02-10T11:50:31.841Z (over 1 year ago)
- Topics: go, golang, grpc
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
DEPENDENCIES
1. protoc
curl -SOL https://github.com/protocolbuffers/protobuf/releases/download/v3.11.2/protoc-3.11.2-linux-x86_64.zip
unzip protoc-3.11.2-linux-x86_64.zip
mv ./bin/protoc /usr/local/bin
2. protoc-gen-go
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
USAGE
1. build the binary
make
2. run the server
./hello -server
3. run the client
./hello