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
}
Click to show internal directories.
Click to hide internal directories.