func net/http.ServeContent
8 uses
net/http (current package)
fs.go#L192: func ServeContent(w ResponseWriter, req *Request, name string, modtime time.Time, content io.ReadSeeker) {
golang.org/x/pkgsite/internal/frontend
server.go#L162: http.ServeContent(w, r, "", time.Time{}, strings.NewReader(`User-agent: *
golang.org/x/pkgsite/internal/proxy
server.go#L49: http.ServeContent(w, r, modulePath, time.Now(), defaultInfo(resolvedVersion))
server.go#L59: http.ServeContent(w, r, modulePath, time.Now(), defaultInfo(resolvedVersion))
server.go#L75: http.ServeContent(w, r, m.ModulePath, time.Now(), strings.NewReader(goMod))
server.go#L86: http.ServeContent(w, r, m.ModulePath, time.Now(), bytes.NewReader(m.zip))
server.go#L104: http.ServeContent(w, r, modulePath, time.Now(), strings.NewReader(strings.Join(vList, "\n")))
server.go#L145: http.ServeContent(w, r, m.ModulePath, time.Now(), strings.NewReader(""))
 |
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. |