Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSocks ¶
Types ¶
type SockListener ¶
func NewSocksProxy ¶
func NewSocksProxy(addr string) (*SockListener, error)
func (*SockListener) Address ¶
func (l *SockListener) Address() string
func (*SockListener) Close ¶
func (l *SockListener) Close()
type SockUDPListener ¶
type SockUDPListener struct { net.PacketConn // contains filtered or unexported fields }
func NewSocksUDPProxy ¶
func NewSocksUDPProxy(addr string) (*SockUDPListener, error)
func (*SockUDPListener) Address ¶
func (l *SockUDPListener) Address() string
func (*SockUDPListener) Close ¶
func (l *SockUDPListener) Close() error
Click to show internal directories.
Click to hide internal directories.