Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTCPDialer ¶
NewTCPDialer returns a tcp dialer.
Types ¶
type TCP ¶
type TCP struct {
// contains filtered or unexported fields
}
TCP struct.
func (*TCP) DialUDP ¶
func (s *TCP) DialUDP(network, addr string) (net.PacketConn, error)
DialUDP connects to the given address via the proxy.
func (*TCP) ListenAndServe ¶
func (s *TCP) ListenAndServe()
ListenAndServe listens on server's addr and serves connections.
Click to show internal directories.
Click to hide internal directories.