This commit is contained in:
insanity 2017-05-25 18:22:21 +09:00
parent b136b00187
commit 6fd2beda57

19
src/main/proto/grpc.proto Normal file
View File

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