overflow_api_db/grpc/grpc.proto
insanity@loafle.com a22de0475a java protoc cmd
2017-06-22 12:27:59 +09:00

21 lines
358 B
Protocol Buffer

syntax = "proto3";
option java_multiple_files = true;
option java_package = "com.loafle.overflow.db.api";
option java_generic_services = true;
message DBInput {
string targetDao = 1;
string method = 2;
map<string, string> param = 3;
}
message DBOutput {
string result = 1;
}
service DB {
rpc exec(DBInput) returns (DBOutput) {}
}