Versions in this module Expand all Collapse all v0 v0.0.16 Dec 23, 2024 v0.0.15 Dec 23, 2024 Changes in this version + func NewReadWriteConn(r io.Reader, w io.Writer, c net.Conn) net.Conn + func ParseInterfaceAddr(ifceName, network string) (ifce string, addr []net.Addr, err error) + func Resolve(ctx context.Context, network, addr string, r resolver.IResolver, ...) (string, error) + type ClientAddr interface + ClientAddr func() net.Addr + type ListenConfig struct + Netns string + func (lc *ListenConfig) Listen(ctx context.Context, network, address string) (net.Listener, error) + func (lc *ListenConfig) ListenPacket(ctx context.Context, network, address string) (net.PacketConn, error) v0.0.14 Jun 24, 2024 v0.0.13 Jun 24, 2024 v0.0.12 Jun 24, 2024 v0.0.11 Jun 17, 2024 v0.0.10 Jun 17, 2024 v0.0.9 Feb 26, 2024 v0.0.8 Feb 26, 2024 v0.0.7 Feb 26, 2024 v0.0.6 Feb 26, 2024 v0.0.5 Feb 26, 2024 v0.0.4 Dec 21, 2023 v0.0.3 Dec 21, 2023 v0.0.2 Dec 21, 2023 v0.0.1 Dec 21, 2023 Changes in this version + func CopyBuffer(dst io.Writer, src io.Reader, bufSize int) error + func IsIPv4(address string) bool + func NewBufferReaderConn(conn net.Conn, br *bufio.Reader) net.Conn + func Transport(rw1, rw2 io.ReadWriter) error + type AddrPortRange string + func (p AddrPortRange) Addrs() (addrs []string) + type PortRange struct + Max int + Min int + func (pr *PortRange) Contains(port int) bool + func (pr *PortRange) Parse(s string) error + type RemoteAddr interface + RemoteAddr func() net.Addr + type SetBuffer interface + SetReadBuffer func(bytes int) error + SetWriteBuffer func(bytes int) error + type SetDSCP interface + SetDSCP func(int) error + type SyscallConn interface + SyscallConn func() (syscall.RawConn, error)