init
This commit is contained in:
31
kernel.proto
Normal file
31
kernel.proto
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
message Team {
|
||||||
|
string team_name = 1;
|
||||||
|
string team_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GameService {
|
||||||
|
// urls for s3
|
||||||
|
string service_url = 1;
|
||||||
|
string checker_url = 2;
|
||||||
|
//board config
|
||||||
|
string checker_type =3;
|
||||||
|
|
||||||
|
int gets = 4;
|
||||||
|
string name = 5;
|
||||||
|
int places = 6;
|
||||||
|
int puts =7;
|
||||||
|
int default_score = 8;
|
||||||
|
int checker_timeout = 9;
|
||||||
|
|
||||||
|
}
|
||||||
|
// all time is in unixtime
|
||||||
|
message StartGameRequest {
|
||||||
|
int teams = 1;
|
||||||
|
repeated GameService services = 2;
|
||||||
|
repeated Team teams = 3;
|
||||||
|
|
||||||
|
int game_starts_at = 4;
|
||||||
|
int rounds = 5;
|
||||||
|
int network_opens_at = 6;
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user