Hi all,
a small project has materialised which might finally give me chance to build something non-trivial in go. We need a small proxy server that is able to rewrite Http requests and responses according to arbitrary logic. After reviewing what is available, it seems like building it ourselves is actually the best solution. So my questions are:
1. I can see from the docs that I can implement Director func(*http.Request) to rewrite the Http request. But what about the response, would I have to implement the Transport interface for that? Would that be straightforward?
2. Are there any other obvious problems with my approach?
I think go would be a perfect fit for us for a multitude of reasons here (strong http standard lib, static binary, scalable, small memory footprint,..), so I am looking forward to your feedback!
Cheers,
Arian