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

30 lines
569 B
Protocol Buffer
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 转移网关
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;
}