biz.proto 285 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
syntax = "proto3";
package biz;

option go_package = "protocol/biz";

/* id = 1 */
message BizMessage {
  uint32 type = 2;
  string payLoad = 3;
}

/* id = 2 */
message BizMessageRsp {
  uint32 status = 1;
}

service Transmitter {
  rpc process(BizMessage) returns (BizMessageRsp) {}
}