network_service_matcher/packet.go
crusader ac4d422cd9 ing
2017-12-04 16:27:08 +09:00

14 lines
166 B
Go

package matcher
type Packet struct {
Buffer []byte
Len int
}
func NewPacket(buf []byte, len int) *Packet {
return &Packet{
Buffer: buf,
Len: len,
}
}