net/http.ServeMux.HandleFunc (method)
10 uses
net/http (current package)
server.go#L2881: func (mux *ServeMux) HandleFunc(pattern string, handler func(ResponseWriter, *Request)) {
go.pact.im/x/httpdebug
httpdebug.go#L28: mux.HandleFunc("GET /debug/pprof/", pprof.Index)
httpdebug.go#L29: mux.HandleFunc("GET /debug/pprof/cmdline", pprof.Cmdline)
httpdebug.go#L30: mux.HandleFunc("GET /debug/pprof/profile", pprof.Profile)
httpdebug.go#L31: mux.HandleFunc("GET /debug/pprof/symbol", pprof.Symbol)
httpdebug.go#L32: mux.HandleFunc("GET /debug/pprof/trace", pprof.Trace)
httpdebug.go#L40: mux.HandleFunc("GET /debug/requests", func(w http.ResponseWriter, r *http.Request) {
httpdebug.go#L44: mux.HandleFunc("GET /debug/events", func(w http.ResponseWriter, r *http.Request) {
httpdebug.go#L51: mux.HandleFunc("GET /debug/buildinfo", serveBuildInfo)
httpdebug.go#L71: mux.HandleFunc("/debug/", serveIndex)