add Packet class

This commit is contained in:
Marten Seemann
2016-04-20 18:37:55 +07:00
parent 99ae512c51
commit 0164feff8f
2 changed files with 14 additions and 2 deletions

12
ackhandler/packet.go Normal file
View File

@@ -0,0 +1,12 @@
package ackhandler
import "github.com/lucas-clemente/quic-go/protocol"
// A Packet is a packet
type Packet struct {
PacketNumber protocol.PacketNumber
Plaintext []byte
EntropyBit bool
MissingReports uint8
}