syntax = "proto3"; | |
package proto; | |
option go_package = "code.hackerspace.pl/hscloud/dc/m6220-proxy/proto"; | |
message RunCommandRequest { | |
string command = 1; | |
}; | |
message RunCommandResponse { | |
string effective_command = 1; | |
repeated string lines = 2; | |
}; | |
service M6220Proxy { | |
rpc RunCommand(RunCommandRequest) returns (RunCommandResponse); | |
}; |