Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPprofModule ¶
NewPprofModule returns an fx.Option that conditionally starts a pprof HTTP server. Configuration is read from koanf:
pprof: enabled: true port: 6060
If pprof.enabled is false or not set, the module does nothing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.