Go grpc and protobuf

Now many internal micro services communications protocols are used rpc, high performance and safety. The grpc is the exit google rpc plus.

protobuf is a transport protocol, high performance, and powerful.

To communicate with a server client demo, and feel the charm of these two.

First, we want a good agreement interfaces and data structures:

 

Guess you like

Origin www.cnblogs.com/Eysa/p/11090885.html