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