flowsrv.proto 327 B

1234567891011121314151617181920212223
  1. syntax = "proto3";
  2. option go_package = "./pb";
  3. package pb;
  4. import "google/protobuf/struct.proto";
  5. message CommandReq {
  6. int64 type = 1;
  7. string access_token = 2;
  8. }
  9. message CommandResp {
  10. int64 code = 1;
  11. string msg = 2;
  12. bytes data = 3;
  13. }
  14. service Flowsrv {
  15. rpc connect(CommandReq) returns (stream CommandResp);
  16. }