pprof

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parent

type Parent interface {
	Log(logger.Level, string, ...interface{})
}

Parent is implemented by program.

type Pprof

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

Pprof is a performance metrics exporter.

func New

func New(
	listenIP string,
	parent Parent,
) (*Pprof, error)

New allocates a Pprof.

func (*Pprof) Close

func (pp *Pprof) Close()

Close closes a Pprof.

Jump to

Keyboard shortcuts

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