2021
06-05
06-05
Go 实现HTTP中间人代理的操作
goproxyGoHTTP(S)代理库,支持中间人代理解密HTTPS项目地址安装gogetgithub.com/ouqiang/goproxy使用packagemainimport("net/http""time""github.com/ouqiang/goproxy")funcmain(){proxy:=goproxy.New()server:=&http.Server{Addr:":8080",Handler:proxy,ReadTimeout:1*time.Minute,WriteTimeout:1*time.Minute,}err:=server.Lis...
继续阅读 >