gRPC rocks build your first gRPC service(part 1)

How gRPC works

Create Schema

syntax = "proto3";
//package code generated by schemakit DO NOT EDIT.
package sample_module.sample_package;


message HelloRequest {
string msg = 1;
}

message HelloReply {
string msg = 1;
string code = 2;
}

service SayHi {
rpc SayHello (HelloRequest) returns (HelloReply);
}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store