Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RealSleeper ¶
type RealSleeper struct{}
func (RealSleeper) Sleep ¶
func (s RealSleeper) Sleep(d time.Duration)
type RecordingNoopSleeper ¶
type RecordingNoopSleeper struct {
// contains filtered or unexported fields
}
func NewRecordingNoopSleeper ¶
func NewRecordingNoopSleeper() *RecordingNoopSleeper
func (*RecordingNoopSleeper) Sleep ¶
func (s *RecordingNoopSleeper) Sleep(d time.Duration)
func (*RecordingNoopSleeper) SleptTimes ¶
func (s *RecordingNoopSleeper) SleptTimes() []time.Duration
Click to show internal directories.
Click to hide internal directories.