Home / Class/ pprofIndex Class — fiber Architecture

pprofIndex Class — fiber Architecture

Architecture documentation for the pprofIndex class in pprof.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  f3d2e8db_6609_68a2_f334_3aa0af8bc701["pprofIndex"]
  aa182fbd_7ebc_9ff7_0ebb_4d64d2d4034e["pprof.go"]
  f3d2e8db_6609_68a2_f334_3aa0af8bc701 -->|defined in| aa182fbd_7ebc_9ff7_0ebb_4d64d2d4034e

Relationship Graph

Source Code

middleware/pprof/pprof.go lines 19–31

	var (
		pprofIndex        = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Index)
		pprofCmdline      = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Cmdline)
		pprofProfile      = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Profile)
		pprofSymbol       = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Symbol)
		pprofTrace        = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Trace)
		pprofAllocs       = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Handler("allocs").ServeHTTP)
		pprofBlock        = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Handler("block").ServeHTTP)
		pprofGoroutine    = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Handler("goroutine").ServeHTTP)
		pprofHeap         = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Handler("heap").ServeHTTP)
		pprofMutex        = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Handler("mutex").ServeHTTP)
		pprofThreadcreate = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Handler("threadcreate").ServeHTTP)
	)

Frequently Asked Questions

What is the pprofIndex class?
pprofIndex is a class in the fiber codebase, defined in middleware/pprof/pprof.go.
Where is pprofIndex defined?
pprofIndex is defined in middleware/pprof/pprof.go at line 19.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free