Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could goproxy support mirror? #53

Open
gosp opened this issue Feb 23, 2019 · 2 comments
Open

could goproxy support mirror? #53

gosp opened this issue Feb 23, 2019 · 2 comments

Comments

@gosp
Copy link

gosp commented Feb 23, 2019

To install goproxy inside Greatwall, mirror is essential.

Repository mirrors

Mirrors = [
"golang.org/x/(.*) => github.com/golang/$1",
"google.golang.org/appengine => github.com/golang/appengine",
"google.golang.org/genproto => github.com/google/go-genproto",
"google.golang.org/grpc => github.com/grpc/grpc-go",
"google.golang.org/api => github.com/googleapis/google-api-go-client",
"cloud.google.com/go => github.com/googleapis/google-cloud-go",
]

@hxzhao527
Copy link
Collaborator

Haha, intresting.

Have you tried replace? when-should-i-use-the-replace-directive

Later, when the plugin mode comes, maybe goproxy will support repository mirrors.

@chinglinwen
Copy link

I'd expect that the client don't need contact any other server, expect proxy server( inside great wall ), so no need to touch github.com, golang.org, google.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants