Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatchPanic
deprecated
func CatchPanic(funcName string)
CatchPanic should be deferred from all go-routines to ensure proper stack trace reporting.
Deprecated: Use ReportPanic instead, the funcName parameter doesn't add useful information in addition to the trace.
func Init ¶ added in v0.0.10
Init is called after reading the configuration to set a persistent location. (i.e. config_paths.data_dir should be persistent even within containers) If not called, the default is /tmp or equivalent.
func ReportPanic ¶ added in v0.0.25
func ReportPanic()
ReportPanic should be deferred from all go-routines to ensure proper stack trace reporting.
func WriteStackTrace ¶
WriteStackTrace writes a stack trace to a file and returns the path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.