debugserver

package module
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 162

README

debugserver

Go Report Card Go Reference

A helper function for running a pre-configured pprof server in go.

[!NOTE]

This repository should be imported as code.cloudfoundry.org/debugserver.

Docs

Contributing

See the Contributing.md for more information on how to contribute.

Working Group Charter

This repository is maintained by App Runtime Platform under Diego area.

[!IMPORTANT]

Content in this file is managed by the CI task sync-readme and is generated by CI following a convention.

Documentation

Index

Constants

View Source
const (
	DebugFlag = "debugAddr"
)

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(flags *flag.FlagSet)

func DebugAddress

func DebugAddress(flags *flag.FlagSet) string

func Run

func Runner

func Runner(address string, sink ReconfigurableSinkInterface) ifrit.Runner

Types

type DebugServerConfig

type DebugServerConfig struct {
	DebugAddress string `json:"debug_address"`
}

type ReconfigurableSinkInterface added in v0.20.0

type ReconfigurableSinkInterface interface {
	SetMinLevel(level lager.LogLevel)
}

Jump to

Keyboard shortcuts

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