18 lines
346 B
Protocol Buffer
18 lines
346 B
Protocol Buffer
|
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;
|
||
|
}
|