func net/http.RedirectHandler
5 uses
net/http (current package)
server.go#L2214: func RedirectHandler(url string, code int) Handler {
server.go#L2391: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
server.go#L2405: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
server.go#L2412: return RedirectHandler(url.String(), StatusMovedPermanently), pattern
golang.org/x/pkgsite/internal/frontend
server.go#L147: handle("/about", http.RedirectHandler("https://go.dev/about", http.StatusFound))
![]() |
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. |