debugging

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureDebugging

func ConfigureDebugging(cfg DebugConfig) (stop func() error, err error)

Types

type DebugConfig

type DebugConfig struct {
	CPUProfilePath   string // writes CPU profile to the specified path, if set
	MemProfilePath   string // writes memory profile to the specified path, if set
	TraceProfilePath string // writes trace (for `go tool trace`) to the specified path, if set
	FgprofPath       string // writes fgprof profile to the specified path, if set
}

Jump to

Keyboard shortcuts

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