server.proto 249 B

123456789101112131415
  1. syntax="proto2";
  2. message EchoRequest {
  3. required string path = 1;
  4. };
  5. message EchoResponse {
  6. required string json = 1;
  7. optional int32 state = 2;
  8. optional int32 error = 3;
  9. };
  10. service gpu_server {
  11. rpc Echo(EchoRequest) returns (EchoResponse);
  12. };