routes

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProfilingHandlers = map[string]http.Handler{
	"/debug/pprof":         http.RedirectHandler("/debug/pprof/", http.StatusFound),
	"/debug/pprof/":        http.HandlerFunc(pprof.Index),
	"/debug/pprof/profile": http.HandlerFunc(pprof.Profile),
	"/debug/pprof/symbol":  http.HandlerFunc(pprof.Symbol),
	"/debug/pprof/trace":   http.HandlerFunc(pprof.Trace),
}

ProfilingHandlers is the set of profiling endpoints. This can be added to controller-runtime's metrics server via manager.Options.Metrics.ExtraHandlers.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL