Documentation ¶ Index ¶ func ContextForTest(t testing.TB) context.Context func TrackGoroutines(ctx context.Context, t testing.TB, fn func(context.Context)) type LeakedGoroutines func (l *LeakedGoroutines) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ContextForTest ¶ func ContextForTest(t testing.TB) context.Context func TrackGoroutines ¶ func TrackGoroutines(ctx context.Context, t testing.TB, fn func(context.Context)) Types ¶ type LeakedGoroutines ¶ type LeakedGoroutines struct { Goroutine []*profile.Sample } func (*LeakedGoroutines) Error ¶ func (l *LeakedGoroutines) Error() string Source Files ¶ View all Source files context.go goroutine_leaks.go Directories ¶ Show internal Expand all Path Synopsis fuzz http Click to show internal directories. Click to hide internal directories.