supports http,socks4/5 at the same time.
go get github.com/ejunjsh/goproxy
usage: goproxy <listen address>
if you run below command in your local or remote machine
goproxy :8090
then you can set your proxy address <local or remote ip>:8090
on your browser or others that support socks4/5 or http proxy.
sudo docker run --net host sjj050121014/goproxy:1.0 <listen address>
๐ enjoy