pprof

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Default = New()
)

Functions

This section is empty.

Types

type OptionFunc

type OptionFunc func(*Options)

func WithConfigurator

func WithConfigurator(cfg config.SubConfigurator) OptionFunc

type Options

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

type PProf

type PProf struct {
	dummybox.DummyBox
	// contains filtered or unexported fields
}

func New

func New(optionFunc ...OptionFunc) *PProf

func (*PProf) Name

func (pp *PProf) Name() string

func (*PProf) Serve

func (pp *PProf) Serve(ctx context.Context) error

func (*PProf) Shutdown

func (pp *PProf) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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