aboutsummaryrefslogtreecommitdiff
path: root/routers/dev/debug.go
diff options
context:
space:
mode:
authorlunnyxiao <xiaolunwen@gmail.com>2014-08-08 13:51:43 +0800
committerlunnyxiao <xiaolunwen@gmail.com>2014-08-08 13:51:43 +0800
commit7c7014262bdf90880826e6e6cc802bdab300b5ae (patch)
treea3b9803b8cb8ecc23517e73c1d0cdf73dcb213d5 /routers/dev/debug.go
parent57f6ec672ab059c57689a45c7f657923718e62bf (diff)
parent9d5c0c80a4984acc1a42da8360a712e4f5f615a0 (diff)
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'routers/dev/debug.go')
-rw-r--r--routers/dev/debug.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/routers/dev/debug.go b/routers/dev/debug.go
deleted file mode 100644
index 6ef40a62..00000000
--- a/routers/dev/debug.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2014 The Gogs Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
-
-package dev
-
-import (
- "net/http/pprof"
-
- "github.com/Unknwon/macaron"
-)
-
-func RegisterDebugRoutes(r *macaron.Macaron) {
- 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)
-}