Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profiling ¶
type Profiling struct{}
Profiling adds handlers for pprof under /debug/pprof. This is similar to routes.Profiling from the API server library (uses the same paths). But instead of adding handlers to a mux.PathRecorderMux, it allows adding it to a server.Builder or manager.Manager.
func (Profiling) AddToBuilder ¶
AddToBuilder adds the profiling handlers to the given Builder.
Click to show internal directories.
Click to hide internal directories.