更新proto

Signed-off-by: Eicy <im@crash.work>
This commit is contained in:
2024-12-21 01:01:13 +08:00
parent b6539a3298
commit f05dce81a0
2 changed files with 35 additions and 31 deletions

View File

@@ -1,31 +0,0 @@
syntax = "proto3";
option csharp_namespace = "Debugger";
package Debugger;
service APIService {
rpc SendData (DataRequest) returns (DataResponse);
}
message DataRequest {
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 {
string message = 1;
bool success = 2;
}