The next step (or possibly the first step) about implementing a microservice, is defining it’s API endpoints. What people usually do is write http handlers and resort to a routing framework like go-chi/chi. But, protocol buffers can define your service, as RPC calls definitions are built into the protobuf schema.
Protobuf service definitions
Protobuf files may define a service object, which has definitions for one or many rpc calls. Let’s extend our proto definitions for ...
Published on December 02, 2019 12:00