Very simple HTTP proxy which forwards all the requests to a given domain.
Logs to file all requests and responses that go through it.
go run . proxy -h
go run . proxy
go run . proxy --listen 0.0.0.0:5000 --target http://httpforever.com --log anotherlog.txt
go run . proxy -c config.yaml
I tested only proxy part, but it would be great to test config file reading and loging to file as an improvement.
go test ./src/proxy