baseproto.proto 198 B

1234567891011121314
  1. syntax = "proto3";
  2. package baseproto;
  3. //通信包装
  4. message TransPack {
  5. string id = 1;
  6. bytes data = 2;
  7. string error = 3;
  8. }
  9. //连接检测
  10. message PingPang {
  11. int64 timestamp = 1; //时间戳
  12. }