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