proto
This commit is contained in:
parent
b136b00187
commit
6fd2beda57
19
src/main/proto/grpc.proto
Normal file
19
src/main/proto/grpc.proto
Normal 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) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user