Documentation ¶ Index ¶ type Config func (c *Config) Start() func() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { // CPU, if set, specifies the file name of the CPU profile to capture CPU string // Memory, if set, specifies the file name of the CPU profile to capture Memory string } func (*Config) Start ¶ func (c *Config) Start() func() Start starts a CPU and / or Memory profile if configured and returns a function that should be called to terminate the profiles. Source Files ¶ View all Source files profile.go Click to show internal directories. Click to hide internal directories.