17 lines
246 B
Protocol Buffer
17 lines
246 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
message DBInput {
|
||
|
string targetDao = 1;
|
||
|
string method = 2;
|
||
|
map<string, string> param = 3;
|
||
|
}
|
||
|
|
||
|
message DBOutput {
|
||
|
map<string, string> result = 1;
|
||
|
}
|
||
|
|
||
|
service DB {
|
||
|
rpc exec(DBInput) returns (DBOutput) {}
|
||
|
}
|
||
|
|