Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeProfile ¶
func ServeProfile(port int)
ServeProfile serves profiling information on the port you pass. It will launch a server in another go routine that will serve profiling information through the route /debug/pprof. An example of how you can use it: `wget http://localhost:8081/debug/pprof/trace?seconds=10` See https://golang.org/pkg/net/http/pprof/ for more information on how to use it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.