niming_igapi/grpc/protobuf/igapi.proto
2024-11-21 18:14:01 +00:00

23 lines
380 B
Protocol Buffer

syntax = "proto3";
service IGAPI {
rpc login () returns (Reply) {}
rpc account_info () returns (Reply) {}
rpc upload (Request) returns (Reply) {}
rpc delete (Request) returns (Reply) {}
rpc setting (Request) returns (Reply) {}
}
message Request {
int code = 1;
repeated string args = 2;
}
message Reply {
int err = 1;
map<string, string> result = 2;
}