SpoofDPI/packet/https.go
2024-07-22 13:49:18 +09:00

16 lines
195 B
Go

package packet
type HttpsPacket struct {
raw []byte
}
func NewHttpsPacket(raw []byte) HttpsPacket {
return HttpsPacket{
raw: raw,
}
}
func (p *HttpsPacket) Raw() []byte {
return p.raw
}