overflow_api_service/grpc/grpc.proto

24 lines
450 B
Protocol Buffer
Raw Normal View History

2017-05-23 10:08:51 +00:00
syntax = "proto3";
package gwrpc;
import "google/api/annotations.proto";
message ServiceInput {
string serviceName = 1;
string methodName = 2;
map<string,string> param = 3;
}
message ServiceOutput {
2017-05-24 06:35:59 +00:00
string resultStr = 1;
2017-05-23 10:08:51 +00:00
}
service OverflowGateway {
rpc ExecServices(ServiceInput) returns (ServiceOutput) {
option (google.api.http) = {
post: "/v1/overflow/services"
body: "*"
};
}
}