Inital commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user