Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TCPConn ¶
type TCPConn interface {
net.Conn
// ID returns the transport endpoint id of TCPConn.
ID() *stack.TransportEndpointID
}
TCPConn implements the net.Conn interface.
type TransportHandler ¶
TransportHandler is a TCP/UDP connection handler that implements HandleTCP and HandleUDP methods.
type UDPConn ¶
type UDPConn interface {
net.Conn
net.PacketConn
// ID returns the transport endpoint id of UDPConn.
ID() *stack.TransportEndpointID
}
UDPConn implements net.Conn and net.PacketConn.
Click to show internal directories.
Click to hide internal directories.