Documentation ¶
Index ¶
Constants ¶
View Source
const ( HandshakeSuccess = 1 HandshakeFailed = 2 )
View Source
const Proto = "quic"
Variables ¶
This section is empty.
Functions ¶
func NoRecentNetwork ¶
Types ¶
type Connection ¶
type Connection struct { quic.Stream // contains filtered or unexported fields }
func NewConnection ¶
func NewConnection(stream quic.Stream, localAddr, remoteAddr net.Addr) *Connection
func (Connection) LocalAddr ¶
func (c Connection) LocalAddr() net.Addr
func (Connection) RemoteAddr ¶
func (c Connection) RemoteAddr() net.Addr
Click to show internal directories.
Click to hide internal directories.