Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { GOPS struct { Enabled bool `toml:"enabled" default:"false" comment:"Enable GOPS agent"` RemoteURL string `toml:"remoteDebugURL" comment:"start a gops agent on specified URL. Ex: localhost:9999"` } PProf struct { Enabled bool `toml:"enabled" default:"true" comment:"Enable PProf handler"` } ZPages struct { Enabled bool `toml:"enabled" default:"true" comment:"Enable zPages handler"` } }
Config holds information for diagnostic handlers.
Click to show internal directories.
Click to hide internal directories.