Documentation ¶
Index ¶
- 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
- type PortRange
- type RemoteAddr
- type SetBuffer
- type SetDSCP
- type SyscallConn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Transport ¶
func Transport(rw1, rw2 io.ReadWriter) error
Types ¶
type AddrPortRange ¶
type AddrPortRange string
AddrPortRange is the network address with port range supported. e.g. 192.168.1.1:0-65535
func (AddrPortRange) Addrs ¶
func (p AddrPortRange) Addrs() (addrs []string)
type RemoteAddr ¶
type SyscallConn ¶
Click to show internal directories.
Click to hide internal directories.