Replace the default proxy
GOPROXY
environment variable to
https://proxy.golang-module-proxy.com/${key}
and clear the caches to
make sure you start from a clean slate. Obtain the API key from your
module proxy administrator. Eliminates the need to also set GOPRIVATE
,
GONOPROXY
, and GONOSUMDB
Replace the default proxy
Configure private modules
GOPROXY
, GOPRIVATE
, GONOPROXY
, and GONOSUMDB
(see the
Go Manual).
Misconfigurations are likely to abound, especially as new developers
onboard, and module dependencies evolve over time. Instead, your private
modules may be quickly identified to your proxy. Private modules will
be served directly, and requests for the modules will never leak out
to upstream sources.Configure private modules
Tier | SLA | Support Type | Response Time |
---|---|---|---|
Basic | None | Best Effort | |
Starter | None | 2 business days | |
Enterprise | 99.9% | Email, Phone, Video, Text Chat | 1 business day |
Role | Capabilities |
---|---|
Administrator | Full access to the module proxy configuration and audit logs, including RBAC and API key management |
Module Admin | May use, add and remove modules that match the policies installed by administrators |
Developer | May use, and add modules that match the policies installed by administrators |
Restricted Developer | May only use modules already known to the proxy and approved by administrators |