Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// Enabled is a flag to enable the profiler.
Enabled bool `yaml:"enabled,omitempty"`
// Port is the port on which the profiler server listens.
Port int `yaml:"port,omitempty"`
}
Options represents the options for enabling pprof profiler.
Click to show internal directories.
Click to hide internal directories.