网络开发整体框架
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
315 B

syntax = "proto3";
option go_package = ".;hpds_net_framework";
// 协议消息
message protocol {
uint32 id = 1;
bytes content = 2;
}
// 打包消息
message sc_protocol_pack {
uint32 id = 1;
repeated protocol pack = 2;
}
// 帧消息
message sc_frame {
uint32 frame = 1;
repeated bytes protocols = 2;
}