app-starlock/lib/talk/startChart/proto/gateway_transfer.proto

30 lines
569 B
Protocol Buffer
Raw Normal View History

// 转移网关
syntax = "proto3";
package main;
option go_package = "./spb";
message GatewayTransferReq {
// 下面两个参数没有实际意义
// 自增ID用于匹配请求和响应
uint32 ID = 1;
// TODO 新的接收者资料,等同于网关添加时候的对象
// 操作时间
uint32 Time = 2;
}
message GatewayTransferResp {
// 自增ID用于匹配请求和响应
uint32 ID = 1;
// 操作完成时间
uint32 Time = 2;
// 状态E
enum StatusE {
// 成功
OK = 0;
// 失败
FAIL = 1;
}
StatusE Status = 3;
}