32 lines
449 B
Protocol Buffer
32 lines
449 B
Protocol Buffer
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;
|
|
}
|