Original post

I am new to and am thinking of re-writing some code I wrote in Python for a cross-platform app (Win/MacOS/Linus) in that I can also compile for Mobile devices using the same code base. Most of what it does I think I can replicate fairly easily but one critical feature is to automatically discover the proxy settings of the host system. In python I used urllib2.getproxies() and, if none are set, looked for a WPAD file and parsed it.

What I can’t find is any way in Go to see if the host system has any proxies set. This is not the same as setting/reading the http_proxy/https_proxy environment variables – it is the ability to read the os specific system preference settings.

Is this possible?