golang.org/x/pkgsite/internal/frontend.Server.errorHandler (method)
6 uses
golang.org/x/pkgsite/internal/frontend (current package)
server.go#L114: detailHandler http.Handler = s.errorHandler(s.serveDetails)
server.go#L115: fetchHandler http.Handler = s.errorHandler(s.serveFetch)
server.go#L116: searchHandler http.Handler = s.errorHandler(s.serveSearch)
server.go#L149: handle("/styleguide", http.HandlerFunc(s.errorHandler(s.serveStyleGuide)))
server.go#L158: middleware.Stats()(http.StripPrefix("/detail-stats", s.errorHandler(s.serveDetails))))
server.go#L342: func (s *Server) errorHandler(f func(w http.ResponseWriter, r *http.Request, ds internal.DataSource) error) http.HandlerFunc {
 |
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. |