Files
server/proto/api/v1/run_command.proto
T

21 lines
381 B
Protocol Buffer

syntax = "proto3";
package api.v1;
option go_package = "git.ohea.xyz/cursorius/server/proto/gen/api/v1;apiv1";
message RunCommandRequest {
string id = 1;
string command = 2;
}
message RunCommandResponse {
int64 return_code = 1;
string stdout = 2;
string stderr = 3;
}
service RunCommandService {
rpc RunCommand(RunCommandRequest) returns (RunCommandResponse) {}
}