21
API/service.proto
Normal file
21
API/service.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option csharp_namespace = "Debugger";
|
||||
|
||||
package Debugger;
|
||||
|
||||
service BotService {
|
||||
rpc SendData (DataRequest) returns (DataResponse);
|
||||
}
|
||||
|
||||
message DataRequest {
|
||||
string code = 1;
|
||||
string str1 = 2;
|
||||
string str2 = 3;
|
||||
int32 num = 4;
|
||||
}
|
||||
|
||||
message DataResponse {
|
||||
string message = 1;
|
||||
bool success = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user