Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TickerInterval = time.Millisecond * 50
TickerInterval defines the interval used by the ticker in Check* functions.
Functions ¶
func CheckContext ¶
CheckContext snapshots the currently-running goroutines and returns a function to be run at the end of tests to see whether any goroutines leaked.
Types ¶
type TaskPool ¶
type TaskPool struct {
// contains filtered or unexported fields
}
func NewTaskPool ¶
Click to show internal directories.
Click to hide internal directories.