aboutsummaryrefslogtreecommitdiff
path: root/routers/debug/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/debug/debug.go')
-rw-r--r--routers/debug/debug.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/routers/debug/debug.go b/routers/debug/debug.go
deleted file mode 100644
index f61e7d2e..00000000
--- a/routers/debug/debug.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// +build pprof
-
-package debug
-
-import (
- "net/http/pprof"
-
- "github.com/go-martini/martini"
-)
-
-func RegisterRoutes(r martini.Router) {
- r.Any("/debug/pprof/cmdline", pprof.Cmdline)
- r.Any("/debug/pprof/profile", pprof.Profile)
- r.Any("/debug/pprof/symbol", pprof.Symbol)
- r.Any("/debug/pprof/**", pprof.Index)
-}