Skip to content

Microservices communication over Remote Procedure Protocol

License

Notifications You must be signed in to change notification settings

gochronicles/go-gRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-gRPC

Microservices communication over Remote Procedure Protocol

Pre-requisites : Install “protoc”, “go install google.golang.org/protobuf/cmd/protoc-gen-go@latest” “go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest”, for the below gRPC Client-Server communication!

Download the above project --

  • Goto terminal and in the same directory that you created your server.go file and enable go modules

  • Your server is now ready to run

  • Now to create handlers for your .proto file, Fire -> protoc --go_out=. --go-grpc_out=. grpctest.proto

  • To register the proto services for the server to refer the grpctest.go file is present in the grpctest/

  • Now the client file is ready to run

  • Once server is running and Client is ready to run

  • You now have a gRPC enabled comunication between couple of services written in GoLang

About

Microservices communication over Remote Procedure Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages