pprof

package
v4.80.6 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 14 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