At my company we use an internal Go proxy in order to access private 
dependencies.
Our Go proxy manages the authentication to our dependencies repositories.
So my config looks like this:
GOPROXY='https://goproxy.mycompany.com,direct'

Unfortunately, our proxy is slightly slower than the public Go proxy for 
public dependencies (github, etc...)
So I would like to use the public Go proxy for public dependencies, and our 
internal Go proxy for private dependencies.
I changed my config to:
GOPROXY='https://proxy.golang.org,https://goproxy.mycompany.com,direct'
It works well, but I think it could cause a small privacy issue: it always 
send a query to the public Go proxy for our private dependencies.

Is it possible to use a specific Go proxy for a path/domain ?
Something like
GOPROXY='git.mycompany.com=https://goproxy.mycompany.com,https://proxy.golang.org,direct'
(I know this syntax doesn't work)
I think it would be very helpful to be able to configure a Go proxy for 
some domains/path.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/f373c3a4-d290-475f-a1d3-b18ce0f0f5b7n%40googlegroups.com.

Reply via email to