error cosmetics

This commit is contained in:
Lucas Clemente
2016-05-17 00:12:04 +02:00
parent dd13836aa9
commit fec9786939
3 changed files with 8 additions and 8 deletions

View File

@@ -30,9 +30,6 @@ type StreamID uint32
// A ByteCount in QUIC
type ByteCount uint64
// An ErrorCode in QUIC
type ErrorCode uint32
// MaxPacketSize is the maximum packet size, including the public header
const MaxPacketSize ByteCount = 1452

View File

@@ -1,5 +1,8 @@
package protocol
// An ErrorCode in QUIC
type ErrorCode uint32
// A QuicError is a QUIC error
type QuicError struct {
ErrorCode ErrorCode