niming_igapi/grpc/protobuf/igapi.proto

23 lines
380 B
Protocol Buffer
Raw Normal View History

2024-11-22 02:14:01 +08:00
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;
}