Help us shape the future of Go! Take the 2026 Go Developer Survey

pprof

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PProfRestHandler

type PProfRestHandler interface {
	Index(w http.ResponseWriter, r *http.Request)
	Cmdline(w http.ResponseWriter, r *http.Request)
	Profile(w http.ResponseWriter, r *http.Request)
	Symbol(w http.ResponseWriter, r *http.Request)
	Trace(w http.ResponseWriter, r *http.Request)
	Goroutine(w http.ResponseWriter, r *http.Request)
	ThreadCreate(w http.ResponseWriter, r *http.Request)
	Heap(w http.ResponseWriter, r *http.Request)
	Block(w http.ResponseWriter, r *http.Request)
	Mutex(w http.ResponseWriter, r *http.Request)
	Allocs(w http.ResponseWriter, r *http.Request)
}

type PProfRestHandlerImpl

type PProfRestHandlerImpl struct {
	// contains filtered or unexported fields
}

func NewPProfRestHandler

func NewPProfRestHandler(logger *zap.SugaredLogger) *PProfRestHandlerImpl

func (*PProfRestHandlerImpl) Allocs

func (*PProfRestHandlerImpl) Block

func (*PProfRestHandlerImpl) Cmdline

func (*PProfRestHandlerImpl) Goroutine

func (p *PProfRestHandlerImpl) Goroutine(w http.ResponseWriter, r *http.Request)

func (*PProfRestHandlerImpl) Heap

func (*PProfRestHandlerImpl) Index

func (*PProfRestHandlerImpl) Mutex

func (*PProfRestHandlerImpl) Profile

func (*PProfRestHandlerImpl) Symbol

func (*PProfRestHandlerImpl) ThreadCreate

func (p *PProfRestHandlerImpl) ThreadCreate(w http.ResponseWriter, r *http.Request)

func (*PProfRestHandlerImpl) Trace

type PProfRouter

type PProfRouter interface {
	InitPProfRouter(router *mux.Router)
}

type PProfRouterImpl

type PProfRouterImpl struct {
	// contains filtered or unexported fields
}

func NewPProfRouter

func NewPProfRouter(logger *zap.SugaredLogger) *PProfRouterImpl

func (*PProfRouterImpl) InitPProfRouter

func (r *PProfRouterImpl) InitPProfRouter(router *mux.Router)

Jump to

Keyboard shortcuts

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