azak-azkaran
azak-azkaran
yes you have to create a custom connectDial: https://github.com/elazarl/goproxy/blob/aa519ddbe484d5dddfd1a4056f90aa2b6cbc99cf/proxy.go#L31
The goproxy Library comes with a custom dialer for proxy connections: Please take a look at: https://github.com/elazarl/goproxy/blob/aa519ddbe484d5dddfd1a4056f90aa2b6cbc99cf/https.go#L325 Or: https://github.com/elazarl/goproxy/blob/aa519ddbe484d5dddfd1a4056f90aa2b6cbc99cf/https.go#L321
You could write a Custom Transport: https://github.com/elazarl/goproxy/blob/aa519ddbe484d5dddfd1a4056f90aa2b6cbc99cf/proxy.go#L28 With a custom proxy function which parses a different proxy IP each time an HTTP request is executed
I needed to set `set runtimepath+=~/.vim ` in my vimrc before `plug#begin` because the autoload folder was not loaded