Documentation ¶
Index ¶
Constants ¶
View Source
const ( TCP_DEADLINE = 60 * time.Second UDP_DEADLINE = 60 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Relay ¶ added in v0.0.3
type Relay struct { LocalTCPAddr *net.TCPAddr LocalUDPAddr *net.UDPAddr RemoteTCPAddr *net.TCPAddr RemoteUDPAddr *net.UDPAddr TCPListener *net.TCPListener UDPConn *net.UDPConn }
func (*Relay) ListenAndServe ¶ added in v0.0.3
func (*Relay) RunLocalTCPServer ¶ added in v0.0.3
func (*Relay) RunLocalUDPServer ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.