12345678910111213141516171819202122 |
- syntax = "proto3";
- option go_package = "./pb";
- package pb;
- import "google/protobuf/struct.proto";
- message CommandResp {
- int64 command_code = 1;
- string command_msg = 2;
- google.protobuf.Struct command_data = 3;
- }
- message CommandReq {
- string token = 1;
- }
- service Rpcbff {
- rpc connect(CommandReq) returns (stream CommandResp);
- rpc disconnect(CommandReq) returns (CommandResp);
- }
|