package
0.0.0-20241112080837-97b903613cec
Repository: https://github.com/deepin-community/docker.io.git
Documentation: pkg.go.dev

# Functions

NewProxy creates a Proxy according to the specified frontendAddr and backendAddr.
NewSCTPProxy creates a new SCTPProxy.
NewTCPProxy creates a new TCPProxy.
NewUDPProxy creates a new UDPProxy.

# Constants

UDPBufSize is the buffer size for the UDP proxy.
UDPConnTrackTimeout is the timeout used for UDP connection tracking.

# Structs

SCTPProxy is a proxy for SCTP connections.
TCPProxy is a proxy for TCP connections.
UDPProxy is proxy for which handles UDP datagrams.

# Interfaces

Proxy defines the behavior of a proxy.