更新proto
This commit is contained in:
@@ -4,15 +4,25 @@ option csharp_namespace = "Debugger";
|
||||
|
||||
package Debugger;
|
||||
|
||||
service BotService {
|
||||
service APIService {
|
||||
rpc SendData (DataRequest) returns (DataResponse);
|
||||
}
|
||||
|
||||
message DataRequest {
|
||||
string code = 1;
|
||||
string str1 = 2;
|
||||
string str2 = 3;
|
||||
int32 num = 4;
|
||||
enum msgType{
|
||||
public = 0;
|
||||
private = 1;
|
||||
}
|
||||
int32 uin = 1;
|
||||
enum logLevel{
|
||||
fatal = 0;
|
||||
error = 1;
|
||||
warn = 2;
|
||||
info = 3;
|
||||
verbose= 4;
|
||||
debug = 5;
|
||||
}
|
||||
string text = 2;
|
||||
}
|
||||
|
||||
message DataResponse {
|
||||
|
||||
Reference in New Issue
Block a user