tcptemplate/protocol/pb/msgType.proto

18 lines
409 B
Protocol Buffer
Raw Normal View History

2020-04-07 08:10:32 +00:00
package protocol;
import "base.proto";
message Request{//请求类型消息
optional int32 session = 1; //消息序列
optional int32 sequence = 2; //消息序号
optional LoginReq login = 1001;
optional OfflineReq offline = 1002;
}
message Response{//相应类型消息
optional int32 session = 1; //消息序列
optional int32 sequence = 2; //消息序号
}