Documentation
¶
Overview ¶
Package diags contains helpers to assist in debugging and diagnostics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpAllStacks ¶
func DumpAllStacks() string
DumpAllStacks produces a string dump of stack traces for all running goroutines.
Types ¶
type Trigger ¶
type Trigger func(watcher *Watcher)
Trigger is a function that is fired when a deadline is missed.
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher contains a timer that fires if an operation fails to complete within a deadline.
Click to show internal directories.
Click to hide internal directories.