gRPC

Simple boilerplate code to get familiar with GRPC

To issue golang generator code do

buf generate 

Now I have a Go file in the directory called grpc/gen/go/users/v1 that contains all the autogenerated protobufs code I will need to wire up my gRPC service

What is gRPC?

gRPC is a popular RPC framework for building microservices that communicate efficiently. gRPC clients and servers can run and talk to each other in a variety of environments, you can have a gRPC server in Go with clients in Java. The main use cases to use gRPC over REST or http/json is due to the following: Efficient on the wire, cheap marshalling, well typed, A single source of truth, and binary format on on the wire.

GitHub

View Github