overflow_api_service/grpc/grpc.proto
2017-05-23 19:08:51 +09:00

24 lines
425 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 {
}
service OverflowGateway {
rpc ExecServices(ServiceInput) returns (ServiceOutput) {
option (google.api.http) = {
post: "/v1/overflow/services"
body: "*"
};
}
}