add net/http/pprof profiler

This commit is contained in:
Asim Aslam
2019-12-08 20:31:16 +00:00
parent a9be1288d2
commit e2b2a30668
4 changed files with 105 additions and 6 deletions

View File

@@ -6,6 +6,8 @@ type Profile interface {
Start() error
// Stop the profiler
Stop() error
// Name of the profiler
String() string
}
type Options struct {