debugutil - ActiveState ActiveGo 1.8
...

Package debugutil

import "github.com/coreos/etcd/pkg/debugutil"
Overview
Index

Overview ▾

Package debugutil includes utility functions for debugging.

Constants

const HTTPPrefixPProf = "/debug/pprof"

func PProfHandlers

func PProfHandlers() map[string]http.Handler

PProfHandlers returns a map of pprof handlers keyed by the HTTP path.