Versions in this module Expand all Collapse all v1 v1.9.2 Apr 22, 2024 Changes in this version + func CallWithTimeout(ctx context.Context, fn func() error, timeoutCallback func()) error + func TestDirectory(t *testing.T) string + func WaitFor(t *testing.T, p Predicate, timeout time.Duration, message string, ...) bool + func WrapError(err error, cause error) error + type ContextRWLocker struct + func (c *ContextRWLocker) Lock() + func (c *ContextRWLocker) LockContext(ctx context.Context) error + func (c *ContextRWLocker) RLock() + func (c *ContextRWLocker) RLockContext(ctx context.Context) error + func (c *ContextRWLocker) RLocker() sync.Locker + func (c *ContextRWLocker) RUnlock() + func (c *ContextRWLocker) TryLock() bool + func (c *ContextRWLocker) TryRLock() bool + func (c *ContextRWLocker) Unlock() + type Predicate func() (bool, error) + type RWLocker interface + RLock func() + RLocker func() sync.Locker + RUnlock func() + TryLock func() bool + TryRLock func() bool