mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +00:00
16 lines
195 B
Go
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
|
|
}
|