/gorpc

Exercise build client server using GRPC

Primary LanguageGoGNU General Public License v3.0GPL-3.0

Gorpc

License: GPL-3.0

Exercise build client and server communication with gRPC using Golang.

How To Run

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 server gRPC
  • 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