- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for GONOPROXY (0.1 sec)
-
src/cmd/go/internal/modfetch/repo.go
var ( errProxyOff = notExistErrorf("module lookup disabled by GOPROXY=off") errNoproxy error = notExistErrorf("disabled by GOPRIVATE/GONOPROXY") errUseProxy error = notExistErrorf("path does not match GOPRIVATE/GONOPROXY") ) func lookupDirect(ctx context.Context, path string) (Repo, error) { security := web.SecureOnly if module.MatchPrefixPatterns(cfg.GOINSECURE, path) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 16:36:19 UTC 2023 - 15.2K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/proxy.go
// equivalent to os.ErrNotFound, which is true for 404 and 410 responses. fallBackOnError bool } func proxyList() ([]proxySpec, error) { proxyOnce.Do(func() { if cfg.GONOPROXY != "" && cfg.GOPROXY != "direct" { proxyOnce.list = append(proxyOnce.list, proxySpec{url: "noproxy"}) } goproxy := cfg.GOPROXY for goproxy != "" { var url string fallBackOnError := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 03 15:21:05 UTC 2023 - 13K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
GOPROXY, GOPROXYChanged = EnvOrAndChanged("GOPROXY", "") GOSUMDB, GOSUMDBChanged = EnvOrAndChanged("GOSUMDB", "") GOPRIVATE = Getenv("GOPRIVATE") GONOPROXY, GONOPROXYChanged = EnvOrAndChanged("GONOPROXY", GOPRIVATE) GONOSUMDB, GONOSUMDBChanged = EnvOrAndChanged("GONOSUMDB", GOPRIVATE) GOINSECURE = Getenv("GOINSECURE") GOVCS = Getenv("GOVCS") )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
{Name: "GOHOSTOS", Value: runtime.GOOS}, {Name: "GOINSECURE", Value: cfg.GOINSECURE}, {Name: "GOMODCACHE", Value: cfg.GOMODCACHE, Changed: cfg.GOMODCACHEChanged}, {Name: "GONOPROXY", Value: cfg.GONOPROXY, Changed: cfg.GONOPROXYChanged}, {Name: "GONOSUMDB", Value: cfg.GONOSUMDB, Changed: cfg.GONOSUMDBChanged}, {Name: "GOOS", Value: cfg.Goos, Changed: cfg.Goos != runtime.GOOS},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/go/script_test.go
"TESTGO_VCSTEST_TLS_HOST=" + httpsURL.Host, "TESTGO_VCSTEST_CERT=" + srvCertFile, "TESTGONETWORK=panic", // cleared by the [net] condition "GOSUMDB=" + testSumDBVerifierKey, "GONOPROXY=", "GONOSUMDB=", "GOVCS=*:all", "devnull=" + os.DevNull, "goversion=" + gover.Local(), "CMDGO_TEST_RUN_MAIN=true", "HGRCPATH=", "GOTOOLCHAIN=auto", "newline=\n", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
matching either pattern, including git.corp.example.com/xyzzy, rsc.io/private, and rsc.io/private/quux. For fine-grained control over module download and validation, the GONOPROXY and GONOSUMDB environment variables accept the same kind of glob list and override GOPRIVATE for the specific decision of whether to use the proxy and checksum database, respectively.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0) -
src/go/build/build_test.go
tmp := t.TempDir() if err := os.WriteFile(filepath.Join(tmp, "go.mod"), []byte("module m"), 0666); err != nil { t.Fatal(err) } t.Setenv("GO111MODULE", "on") t.Setenv("GOPROXY", "off") t.Setenv("GONOPROXY", "none") ctxt := Default ctxt.Dir = tmp pkgPath := "example.com/hello" _, err := ctxt.Import(pkgPath, tmp, FindOnly) if err == nil { t.Fatal("unexpected success") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 23.9K bytes - Viewed (0) -
src/cmd/go/internal/help/helpdoc.go
Controls where various files are stored. See: 'go help gopath'. GOPROXY URL of Go module proxy. See https://golang.org/ref/mod#environment-variables and https://golang.org/ref/mod#module-proxy for details. GOPRIVATE, GONOPROXY, GONOSUMDB Comma-separated list of glob patterns (in the syntax of Go's path.Match) of module path prefixes that should always be fetched directly or that should not be compared against the checksum database.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 36.3K bytes - Viewed (0)