Sergiusz Bazanski | ff5af69 | 2018-08-29 19:20:46 +0100 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | package proto; |
Sergiusz Bazanski | 61594bb | 2019-07-21 15:20:51 +0200 | [diff] [blame] | 3 | option go_package = "code.hackerspace.pl/hscloud/dc/m6220-proxy/proto"; |
Sergiusz Bazanski | ff5af69 | 2018-08-29 19:20:46 +0100 | [diff] [blame] | 4 | |
| 5 | message RunCommandRequest { |
| 6 | string command = 1; |
| 7 | }; |
| 8 | |
| 9 | message RunCommandResponse { |
| 10 | string effective_command = 1; |
| 11 | repeated string lines = 2; |
| 12 | }; |
| 13 | |
| 14 | service M6220Proxy { |
| 15 | rpc RunCommand(RunCommandRequest) returns (RunCommandResponse); |
| 16 | }; |