This is just a simple HTTP Proxy implementation mainly used to study Go, it has no auth and it's probably buggy: i don't recommend using it for serious stuff. I coded it using another implementation found on GitHub.
go get github.com/proudlygeek/proxyg
Make sure you've exported GOPATH/bin to your PATH env var.
To run an HTTP Proxy simply run:
By default, proxyg listens on localhost port 8080; if you need to change the default behavior just pass the -host and -portflags: