overflow_api_service/grpc/grpc.proto
2017-05-24 15:35:59 +09:00

24 lines
450 B
Protocol Buffer

syntax = "proto3";
package gwrpc;
import "google/api/annotations.proto";
message ServiceInput {
string serviceName = 1;
string methodName = 2;
map<string,string> param = 3;
}
message ServiceOutput {
string resultStr = 1;
}
service OverflowGateway {
rpc ExecServices(ServiceInput) returns (ServiceOutput) {
option (google.api.http) = {
post: "/v1/overflow/services"
body: "*"
};
}
}