golang.org/x/pkgsite/internal/proxy.Server.mux (field)
11 uses
golang.org/x/pkgsite/internal/proxy (current package)
server.go#L25: mux *http.ServeMux
server.go#L32: mux: http.NewServeMux(),
server.go#L44: s.mux.HandleFunc(urlPath, func(w http.ResponseWriter, r *http.Request) {
server.go#L56: s.mux.HandleFunc(urlPath, func(w http.ResponseWriter, r *http.Request) {
server.go#L73: s.mux.HandleFunc(fmt.Sprintf("/%s/@v/%s.mod", m.ModulePath, m.Version),
server.go#L81: s.mux.HandleFunc(fmt.Sprintf("/%s/@v/%s.zip", m.ModulePath, m.Version),
server.go#L92: s.mux.HandleFunc(fmt.Sprintf("/%s/@v/list", modulePath), func(w http.ResponseWriter, r *http.Request) {
server.go#L110: s.mux.HandleFunc(route, fn)
server.go#L144: s.mux.HandleFunc(fmt.Sprintf("/%s/@v/list", m.ModulePath), func(w http.ResponseWriter, r *http.Request) {
server.go#L147: s.mux.HandleFunc(fmt.Sprintf("/%s/@latest", m.ModulePath), func(w http.ResponseWriter, r *http.Request) {
test_helper.go#L37: httpClient, proxy, serverClose := testhelper.SetupTestClientAndServer(s.mux)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |