Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSocks5Config ¶
func GetSocks5Config(key string) *socks5.Config
func ListenForClients ¶
Catches clients and connects to yamux
func Socks5Server ¶
func Socks5Server(key string, fnCbk func(Socks5ServerInfo, interface{}), wg interface{}) error
传入key 返回本机所有绑定的ip和端口信息给回调
Types ¶
type Socks5ServerInfo ¶
Click to show internal directories.
Click to hide internal directories.