grpc-mocker/pb/calc_service.proto

17 lines
249 B
Protocol Buffer

syntax = "proto3";
package pb;
option go_package = "./";
service CalcService {
rpc Add(AdditionRequest) returns (AdditionResponse);
}
message AdditionRequest {
uint64 x = 1;
uint64 y = 2;
}
message AdditionResponse {
uint64 result = 3;
}