net

package
v0.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL