flowsrv.proto 268 B

12345678910111213141516171819
  1. syntax = "proto3";
  2. option go_package = "./pb";
  3. package pb;
  4. message CommandReq {
  5. string access_token = 2;
  6. }
  7. message CommandResp {
  8. int32 code = 1;
  9. string msg = 2;
  10. bytes data = 3;
  11. }
  12. service Flowsrv {
  13. rpc connect(CommandReq) returns (stream CommandResp);
  14. }