You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nnet/message/message.go

12 lines
192 B
Go

package message
type Header struct {
}
type Message struct {
Type byte // 消息类型
ID uint64 // 消息ID
Header []byte // 消息头原始数据
Payload []byte // 数据
}