golang.org/x/pkgsite/internal/middleware.erResponseWriter.status (field)
7 uses
golang.org/x/pkgsite/internal/middleware (current package)
errorreporting.go#L28: if w2.status < 500 {
errorreporting.go#L32: if w2.status == http.StatusServiceUnavailable {
errorreporting.go#L36: if w2.status == derrors.ToStatus(derrors.ProxyTimedOut) {
errorreporting.go#L40: if w2.status == derrors.ToStatus(derrors.ProxyError) {
errorreporting.go#L44: Error: fmt.Errorf("handler for %q returned status code %d", r.URL.Path, w2.status),
errorreporting.go#L55: status int
errorreporting.go#L59: rw.status = code
![]() |
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. |