protoc-gen-go-micro/examples/go-generate/example.proto

16 lines
189 B
Protocol Buffer
Raw Normal View History

2017-04-24 10:20:30 +03:00
syntax = "proto3";
package example;
service Sum {
rpc Sum(SumRequest) returns (SumReply) {};
}
message SumRequest {
int32 a = 1;
int32 b = 2;
}
message SumReply {
int32 c = 1;
}