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