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/packet/entry.go

15 lines
195 B
Go

package packet
// Entry 入口原始数据
type Entry struct {
Header any
Raw []byte
}
func NewEntry(header any, raw []byte) *Entry {
return &Entry{
Header: header,
Raw: raw,
}
}