gops

package
v1.13.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultGopsPort is the default for --gops-port option.
	DefaultGopsPort = uint16(0)

	// Cell runs the gops agent, a tool to list and diagnose Go processes.
	// See https://github.com/google/gops.
	Cell = hive.NewCellWithConfig[GopsConfig](
		"gops",
		fx.Invoke(registerGopsHooks),
	)
)

Functions

This section is empty.

Types

type GopsConfig

type GopsConfig struct {
	GopsPort uint16 // Port for gops server to listen on
}

func (GopsConfig) CellFlags

func (GopsConfig) CellFlags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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