pprof

package
v4.76.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProfileNames = []string{
	"allocs",
	"goroutine",
	"heap",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	URL  string
	Port int
}

func Flags

func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config

type Service

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

func New

func New(config *Config, service, version, env string) Service

func (Service) Start

func (s Service) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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