package
0.0.0-20220622123727-582326c6a2f8
Repository: https://github.com/qdeconinck/mp-quic.git
Documentation: pkg.go.dev
# 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.
GetByteOrder gets the ByteOrder (little endian or big endian) used to represent values on the wire from QUIC 39, values are encoded in big endian, before that in little endian.
HostnameFromAddr determines the hostname in an address string.
Infof logs something.
Max returns the maximum of two Ints.
MaxByteCount returns the maximum of two ByteCounts.
MaxDuration returns the max duration.
MaxInt64 returns the minimum of two int64.
MaxPacketNumber returns the max packet number.
MaxTime returns the later time.
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.
NewTimer creates a new timer that is not set.
SetLogLevel sets the log level.
SetLogTimeFormat sets the format of the timestamp an empty string disables the logging of timestamps.
# 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.
# Variables
BigEndian is the big-endian implementation of ByteOrder.
LittleEndian is the little-endian implementation of ByteOrder.
# 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.
A Timer wrapper that behaves correctly when resetting.
# Interfaces
A ByteOrder specifies how to convert byte sequences into 16-, 32-, or 64-bit unsigned integers.
# Type aliases
LogLevel of quic-go.