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 RemoteAddr type SetBuffer type SetDSCP type SyscallConn Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CopyBuffer ¶ func CopyBuffer(dst io.Writer, src io.Reader, bufSize int) error func IsIPv4 ¶ func IsIPv4(address string) bool func NewBufferReaderConn ¶ func NewBufferReaderConn(conn net.Conn, br *bufio.Reader) net.Conn func Transport ¶ func Transport(rw1, rw2 io.ReadWriter) error Types ¶ type RemoteAddr ¶ type RemoteAddr interface { RemoteAddr() net.Addr } type SetBuffer ¶ type SetBuffer interface { SetReadBuffer(bytes int) error SetWriteBuffer(bytes int) error } type SetDSCP ¶ type SetDSCP interface { SetDSCP(int) error } tcpraw.TCPConn type SyscallConn ¶ type SyscallConn interface { SyscallConn() (syscall.RawConn, error) } Source Files ¶ View all Source files net.go transport.go Directories ¶ Show internal Expand all Path Synopsis proxyproto udp Click to show internal directories. Click to hide internal directories.