PPROF
Middleware to show profiling data using standard pprof.
Usage
Import
import "github.com/ngamux/middleware/pprof"
Instance Creation
pprofMiddleware := pprof.New()
Mount Instance to Ngamux
Global Middleware
mux := ngamux.New()
mux.Use(pprofMiddleware)
Test
Now send request to /debug/pprof path, it will shows profiling interface (web page).