feat:
This commit is contained in:
parent
c6824ea56a
commit
c71d43077e
2 changed files with 45 additions and 25 deletions
18
tester/v1/tester.proto
Normal file
18
tester/v1/tester.proto
Normal file
|
@ -0,0 +1,18 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tester.v1;
|
||||
option go_package = "/tester/v1;testerv1";
|
||||
|
||||
service TesterService {
|
||||
rpc CreateSolution (CreateSolutionRequest) returns (stream TestingState);
|
||||
}
|
||||
|
||||
message CreateSolutionRequest {
|
||||
int32 task_id = 1;
|
||||
int32 language = 2;
|
||||
string solution = 3;
|
||||
}
|
||||
|
||||
message TestingState {
|
||||
string msg = 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue