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)