https://github.com/mcodex/grpc-example
A gRPC implementation using Go lang
https://github.com/mcodex/grpc-example
go golang grpc grpc-go protobuf
Last synced: 4 months ago
JSON representation
A gRPC implementation using Go lang
- Host: GitHub
- URL: https://github.com/mcodex/grpc-example
- Owner: mCodex
- License: mit
- Created: 2021-02-16T14:04:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-18T23:41:20.000Z (over 4 years ago)
- Last Synced: 2024-04-11T01:07:43.163Z (about 1 year ago)
- Topics: go, golang, grpc, grpc-go, protobuf
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grpc-example
A gRPC implementation using Go lang## 🛠 Installing
You need to have Go lang installed on your machine.
### Compiling protobuffers and gRPC
```bash
protoc --proto_path=proto proto/*.proto --go_out=pb --go-grpc_out=pb
```## 🏃♂️ Running
First of all, you need to run the server:
```bash
go run cmd/server/server.go
```After that, you just need to run the client simultaneously:
```bash
go run cmd/client/client.go
```