profile

package
v0.0.0-...-b289748 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Debug tooling. Dumps named profile in response to HTTP request at

http(s)://<host-name>/<configured-path>/<profile-name>

See godoc for the list of possible profile names: https://golang.org/pkg/runtime/pprof/#Profile

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Url string
}

func NewProfile

func NewProfile(path string) *Profile

func (*Profile) ProfileHandler

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

func (*Profile) StartProfile

func (p *Profile) StartProfile(filepath string) error

Jump to

Keyboard shortcuts

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