- Cédric THOMAS (email: [email protected])
git clone https://github.com/ReyahSolutions/protobuf-tutorial
- Go
- Java
- Make
protoc
: allows to generate gRPC server and client specifications.
Downloadprotoc
the recommended way for your system.
To generate Go code for gRPC services from Protobuf definitions, you'll need the following tools:
protoc-gen-go
: allows to generate Go code from Protobuf filesprotoc-gen-go-grpc
: allows to generate Go code from Protobuf file specifically for gRPC.
These tools are automatically installed when running the client:
make install-tools
Everything is automatically installed and generated when running:
make run
cd server
make run
cd client
make run
doc.v1.2