# Functions
AbsDuration returns the absolute value of a time duration.
Debug returns true if the log level is LogLevelDebug.
Debugf logs something.
Errorf logs something.
GenerateConnectionID generates a connection ID using cryptographic random.
HostnameFromAddr determines the hostname in an address string.
Infof logs something.
Max returns the maximum of two Ints.
MaxDuration returns the max duration.
MaxInt64 returns the minimum of two int64.
MaxPacketNumber returns the max packet number.
MaxUint32 returns the maximum of two uint32.
MaxUint64 returns the maximum of two uint64.
Min returns the minimum of two Ints.
MinByteCount returns the minimum of two ByteCounts.
MinDuration returns the minimum duration.
MinInt64 returns the minimum of two int64.
MinPacketNumber returns the min packet number.
MinTime returns the earlier time.
MinUint32 returns the maximum of two uint32.
MinUint64 returns the maximum of two uint64.
NewByteIntervalList returns an initialized list.
NewPacketIntervalList returns an initialized list.
ReadUfloat16 reads a float in the QUIC-float16 format and returns its uint64 representation.
ReadUint16 reads a uint16.
ReadUint32 reads a uint32.
ReadUint64 reads a uint64.
ReadUintN reads N bytes.
SetLogLevel sets the log level.
SetLogWriter sets the log writer.
WriteUfloat16 writes a float in the QUIC-float16 format from its uint64 representation.
WriteUint16 writes a uint16.
WriteUint24 writes 24 bit of a uint32.
WriteUint32 writes a uint32.
WriteUint40 writes 40 bit of a uint64.
WriteUint48 writes 48 bit of a uint64.
WriteUint56 writes 56 bit of a uint64.
WriteUint64 writes a uint64.
# Constants
InfDuration is a duration of infinite length.
LogLevelDebug enables debug logs (e.g.
LogLevelError enables err logs.
LogLevelInfo enables info logs (e.g.
LogLevelNothing disables.
# Structs
An AtomicBool is an atomic bool.
ByteInterval is an interval from one ByteCount to the other +gen linkedlist.
ByteIntervalElement is an element of a linked list.
ByteIntervalList represents a doubly linked list.
PacketInterval is an interval from one PacketNumber to the other +gen linkedlist.
PacketIntervalElement is an element of a linked list.
PacketIntervalList represents a doubly linked list.
# Type aliases
LogLevel of quic-go.
Uint32Slice attaches the methods of sort.Interface to []uint32, sorting in increasing order.