Here's a Go version in 41 lines of source code I wrote in 2016:
https://github.com/gophergala2016/goxy/blob/master/goxy.go
And a forward proxy that supports middleware like adding CORS headers, logging, etc...
https://github.com/gophergala2016/goxy/blob/master/goxy.go
And a forward proxy that supports middleware like adding CORS headers, logging, etc...
No comments yet.