25 lines
436 B
Protocol Buffer
25 lines
436 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
service IGAPI {
|
|
rpc login (Request) returns (Reply) {}
|
|
|
|
rpc account_info (Request) returns (Reply) {}
|
|
|
|
rpc upload (Request) returns (Reply) {}
|
|
|
|
rpc delete (Request) returns (Reply) {}
|
|
|
|
rpc setting (Request) returns (Reply) {}
|
|
|
|
rpc queue (Request) returns (Reply) {}
|
|
}
|
|
|
|
message Request {
|
|
int64 code = 1;
|
|
repeated string args = 2;
|
|
}
|
|
|
|
message Reply {
|
|
int64 err = 1;
|
|
map<string, string> result = 2;
|
|
} |