Documentation ¶ Overview ¶ pprof/pprof.go Index ¶ func Mount(r chi.Router) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Mount ¶ func Mount(r chi.Router) Mount attaches the standard Go pprof handlers under /debug/pprof. It must be mounted inside the router where API-key or other auth middleware has ALREADY been applied if protection is desired. Example: r.Group(func(r chi.Router) { r.Use(apikey.RequireAdminKey(...)) pprof.Mount(r) }) Types ¶ This section is empty. Source Files ¶ View all Source files pprof.go Click to show internal directories. Click to hide internal directories.