// NewRouter creates a new debug router
// The debug router holds endpoints for debug the daemon, such as those for pprof.
NewRouter creates a new debug router
The debug router holds endpoints for debug the daemon, such as those for pprof.
// NewRouter creates a new debug router // The debug router holds endpoints for debug the daemon such as those for pprof .
func NewRouter() router.Router {
	r := &debugRouter{}
	r.initRoutes()
	return r
}
func NewRouter ( ) router . Router { r := & debugRouter { } r . initRoutes ( ) return r }
NewRouter creates a new debug router
The debug router holds endpoints for debug the daemon, such as those for pprof.
NewRouter creates a new debug router The debug router holds endpoints for debug the daemon such as those for pprof .