Inital commit

This commit is contained in:
2023-01-08 15:02:02 -07:00
commit 433b827cdd
7 changed files with 624 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
syntax = "proto3";
option go_package = "git.ohea.xyz/cursorius/runner-api/go/api/v2;apiv2";
message Register {
string secret = 1;
string id = 2;
repeated string tags = 3;
}
message RunCommand {
string command = 1;
}
message RunCommandPartialResponse {
string stdout = 1;
string stderr = 2;
}
message RunCommandFinalResponse {
int64 return_code = 1;
RunCommandPartialResponse partial_response = 2;
}