Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPacketConn ¶
func NewPacketConn(ctx context.Context, conn N.PacketConn, timeout time.Duration) (context.Context, N.PacketConn)
Types ¶
type PacketConn ¶
type PacketConn struct { N.PacketConn // contains filtered or unexported fields }
func (*PacketConn) Close ¶
func (c *PacketConn) Close() error
func (*PacketConn) ReadPacket ¶
func (*PacketConn) Upstream ¶
func (c *PacketConn) Upstream() any
func (*PacketConn) WritePacket ¶
Click to show internal directories.
Click to hide internal directories.