net/http.ServeMux.HandleFunc (method)
10 uses
net/http (current package)
server.go#L2511: func (mux *ServeMux) HandleFunc(pattern string, handler func(ResponseWriter, *Request)) {
server.go#L2527: DefaultServeMux.HandleFunc(pattern, handler)
go.pact.im/x/httpdebug
httpdebug.go#L19: mux.HandleFunc("/debug/pprof/", pprof.Index)
httpdebug.go#L20: mux.HandleFunc("/debug/pprof/cmdline", pprof.Cmdline)
httpdebug.go#L21: mux.HandleFunc("/debug/pprof/profile", pprof.Profile)
httpdebug.go#L22: mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
httpdebug.go#L31: mux.HandleFunc("/debug/events", trace.Events)
httpdebug.go#L32: mux.HandleFunc("/debug/requests", trace.Traces)
httpdebug.go#L34: mux.HandleFunc("/debug/buildinfo", func(w http.ResponseWriter, r *http.Request) {
httpdebug.go#L50: mux.HandleFunc("/debug/", func(w http.ResponseWriter, r *http.Request) {