pprof

package
v0.0.0-...-fab57c2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package pprof provides a mockable wrapper for net/http/pprof.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) Cmdline

func (*Impl) Cmdline(w http.ResponseWriter, r *http.Request)

func (*Impl) Handler

func (*Impl) Handler(name string) http.Handler

func (*Impl) Index

func (*Impl) Index(w http.ResponseWriter, r *http.Request)

func (*Impl) Profile

func (*Impl) Profile(w http.ResponseWriter, r *http.Request)

func (*Impl) Symbol

func (*Impl) Symbol(w http.ResponseWriter, r *http.Request)

func (*Impl) Trace

func (*Impl) Trace(w http.ResponseWriter, r *http.Request)

type Interface

type Interface interface {
	Cmdline(w http.ResponseWriter, r *http.Request)
	Handler(name string) http.Handler
	Index(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)
}

Jump to

Keyboard shortcuts

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