rpcbff.proto 400 B

12345678910111213141516171819202122
  1. syntax = "proto3";
  2. option go_package = "./pb";
  3. package pb;
  4. import "google/protobuf/struct.proto";
  5. message CommandResp {
  6. int64 command_code = 1;
  7. string command_msg = 2;
  8. google.protobuf.Struct command_data = 3;
  9. }
  10. message CommandReq {
  11. string access_token = 1;
  12. }
  13. service Rpcbff {
  14. rpc connect(CommandReq) returns (stream CommandResp);
  15. rpc disconnect(CommandReq) returns (CommandResp);
  16. }