Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(r Router)
RegisterRoutes wires the default pprof handlers on the provided router.
Types ¶
type Router ¶
type Router interface {
Get(pattern string, h http.HandlerFunc)
}
Router defines the minimal GET registration contract needed for pprof routes.
Click to show internal directories.
Click to hide internal directories.