transfer.proto 219 B

12345678910111213141516
  1. syntax = "proto3";
  2. option go_package = "./pb";
  3. package pb;
  4. message TransferReq{
  5. int32 action = 1;
  6. bytes data = 2;
  7. }
  8. message TransferResp{}
  9. service Transfer {
  10. rpc invoke (TransferReq) returns (TransferResp);
  11. }