diff options
author | Martin Polden <mpolden@mpolden.no> | 2019-12-31 12:17:11 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2019-12-31 13:49:02 +0100 |
commit | 962b8ed95a9bfebf3f7fd35307d4e9484fda369a (patch) | |
tree | 248ae5697be31b8f1c728a56d0a7478984ce4fb4 /http/http.go | |
parent | 50159f241973d24e48b2d2c3ae5e353d9c64eb4d (diff) |
Add pprof handlers
Diffstat (limited to 'http/http.go')
-rw-r--r-- | http/http.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http/http.go b/http/http.go index 7fdd16a..ac2e9b0 100644 --- a/http/http.go +++ b/http/http.go @@ -4,6 +4,7 @@ import ( "context" "net" "net/http" + _ "net/http/pprof" // Registers debug handlers as a side effect. "strconv" "time" |