xuzhiheng hace 4 años
padre
commit
fb4ae77f58
Se han modificado 1 ficheros con 15 adiciones y 0 borrados
  1. 15 0
      rpc/message.proto

+ 15 - 0
rpc/message.proto

@@ -0,0 +1,15 @@
+syntax = "proto3";
+
+package message;
+
+message Request {
+  string ping = 1;
+}
+
+message Response {
+  string pong = 1;
+}
+
+service Message {
+  rpc Ping(Request) returns(Response);
+}