Documentation ¶
Index ¶
- func CollectCpuProfile(cpuProfile string) (bool, error)
- func CollectMemProfile(memProfile string) error
- func HasCmd(f string, remove bool) bool
- func ReadCmd(f string) []byte
- func ReadCmdOK(f string, remove bool) ([]byte, bool)
- func RegisterSignalCallback(f func(), signals ...os.Signal)
- func RegisterSignalProfile(signals ...os.Signal)
- func RegisterSignals(c context.Context, signals ...os.Signal) (context.Context, context.CancelFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectCpuProfile ¶
func CollectMemProfile ¶
func RegisterSignalCallback ¶
func RegisterSignalProfile ¶
func RegisterSignals ¶
RegisterSignals registers signal handlers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.