24 lines
425 B
Protocol Buffer
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: "*"
|
|
};
|
|
}
|
|
}
|