niming_igapi/grpcServer/protobuf/igapi.proto

25 lines
436 B
Protocol Buffer
Raw Permalink Normal View History

2024-11-22 02:14:01 +08:00
syntax = "proto3";
service IGAPI {
2024-12-18 00:35:17 +08:00
rpc login (Request) returns (Reply) {}
2024-11-22 02:14:01 +08:00
2024-12-18 00:35:17 +08:00
rpc account_info (Request) returns (Reply) {}
2024-11-22 02:14:01 +08:00
rpc upload (Request) returns (Reply) {}
rpc delete (Request) returns (Reply) {}
rpc setting (Request) returns (Reply) {}
2024-12-18 00:35:17 +08:00
rpc queue (Request) returns (Reply) {}
2024-11-22 02:14:01 +08:00
}
message Request {
2024-12-18 00:35:17 +08:00
int64 code = 1;
repeated string args = 2;
2024-11-22 02:14:01 +08:00
}
message Reply {
2024-12-18 00:35:17 +08:00
int64 err = 1;
2024-11-22 02:14:01 +08:00
map<string, string> result = 2;
}