Documentation
¶
Index ¶
- type Socks5
- func (e *Socks5) Close()
- func (e *Socks5) GetDownStream() int64
- func (e *Socks5) GetUpStream() int64
- func (p *Socks5) HandleConnection(conn net.Conn)
- func (p *Socks5) HandleSocks5(r *bufio.Reader, conn net.Conn)
- func (e *Socks5) Start()
- func (e *Socks5) UpdatePort(port uint16)
- func (e *Socks5) UpdateProxy(proxy constant.Proxy)
- func (e *Socks5) UpdateSocks5(options Socks5Options) error
- type Socks5Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Socks5 ¶
func NewSocks5 ¶
func NewSocks5(options Socks5Options) *Socks5
func (*Socks5) GetDownStream ¶
func (*Socks5) GetUpStream ¶
func (*Socks5) HandleConnection ¶
func (*Socks5) UpdatePort ¶
func (*Socks5) UpdateProxy ¶
func (*Socks5) UpdateSocks5 ¶
func (e *Socks5) UpdateSocks5(options Socks5Options) error
type Socks5Options ¶
Click to show internal directories.
Click to hide internal directories.