Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostKeyGetter ¶
type HostKeyGetter struct {
// contains filtered or unexported fields
}
func NewHostKeyGetter ¶
func NewHostKeyGetter() HostKeyGetter
type Socks5Proxy ¶
type Socks5Proxy struct {
// contains filtered or unexported fields
}
func NewSocks5Proxy ¶
func NewSocks5Proxy(logger logger, hostKeyGetter hostKeyGetter, port int) *Socks5Proxy
func (*Socks5Proxy) Addr ¶
func (s *Socks5Proxy) Addr() string
func (*Socks5Proxy) Start ¶
func (s *Socks5Proxy) Start(key, url string) error
Click to show internal directories.
Click to hide internal directories.