15 lines
250 B
Go
15 lines
250 B
Go
|
|
package main
|
||
|
|
|
||
|
|
import (
|
||
|
|
"zproxy/proxy"
|
||
|
|
"zproxy/zlog"
|
||
|
|
)
|
||
|
|
|
||
|
|
func main() {
|
||
|
|
client := proxy.NewClientProxy()
|
||
|
|
err := client.ServeTCP(proxy.RemoteServerAddr, proxy.ClientAddr)
|
||
|
|
if err != nil {
|
||
|
|
zlog.Error("exist client remote proxy: ", err.Error())
|
||
|
|
}
|
||
|
|
}
|