Exercise build client and server communication with gRPC using Golang.
Firstly, Install Golang and gRPC, follow the instructions in there.
and then run ./gen.sh
for generate gRPC
files.
In this folder have three folder
contract
- Folder for place protobuf files and protobuf generated files.server
- Golang folder for handle servergRPC
client
- Client folder for request to server.
Go to server folder and run Golang code in server folder with command go run main.go
.
If server code is running and then go to client folder and run client code with command like run server code go run main.go