(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestProxy(t *testing.T) { |
| 10 | go Gproxy.ClientWait("8888") //监听客户端端口,等待客户端链接 |
| 11 | go Gproxy.ServerWait("8889") // 服务端端口,用户链接用于代理 |
| 12 | Gproxy.RunProxy("127.0.0.1:8888") |
| 13 | // curl baidu.com -x socks5://127.0.0.1:8889 |
| 14 | } |
nothing calls this directly
no test coverage detected