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

28 lines
494 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 GatewayResetReq {
// 下面两个参数没有实际意义
// 自增ID用于匹配请求和响应
uint32 ID = 1;
// 操作时间
uint32 Time = 2;
}
message GatewayResetResp {
// 自增ID用于匹配请求和响应
uint32 ID = 1;
// 操作完成时间
uint32 Time = 2;
// 状态E
enum StatusE {
// 成功
OK = 0;
// 失败
FAIL = 1;
}
StatusE Status = 3;
}