Documentation ¶
Overview ¶
Package debug contains functions for dealing with runtime/debug functions across go versions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetGCPercent ¶
SetGCPercent calls the runtime/debug.SetGCPercent function to set the garbage collection percentage.
func SetMemoryLimit ¶
SetMemoryLimit calls the runtime/debug.SetMemoryLimit function to set the soft-memory limit.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.