Pages

Thursday, 23 June 2016

Proxyg

a HTTP Proxy written in Golang.
A Very, very simple HTTP Proxy implementation.

Why?

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.

Installation

go get github.com/proudlygeek/proxyg
Make sure you've exported GOPATH/bin to your PATH env var.

Usage

To run an HTTP Proxy simply run:
proxyg
By default, proxyg listens on localhost port 8080; if you need to change the default behavior just pass the -host and -portflags:
proxyg -host="0.0.0.0" -port=9081
from https://github.com/proudlygeek/proxyg