Documentation
¶
Index ¶
- type FakeClock
- func (clock *FakeClock) After(d time.Duration) <-chan time.Time
- func (clock *FakeClock) Increment(duration time.Duration)
- func (clock *FakeClock) IncrementBySeconds(seconds uint64)
- func (clock *FakeClock) NewTicker(d time.Duration) clock.Ticker
- func (clock *FakeClock) NewTimer(d time.Duration) clock.Timer
- func (clock *FakeClock) Now() time.Time
- func (clock *FakeClock) Since(t time.Time) time.Duration
- func (clock *FakeClock) Sleep(d time.Duration)
- func (clock *FakeClock) WaitForNWatchersAndIncrement(duration time.Duration, numWatchers int)
- func (clock *FakeClock) WaitForWatcherAndIncrement(duration time.Duration)
- func (clock *FakeClock) WatcherCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Source Files
¶
- fake_clock.go
- fake_ticker.go
- fake_timer.go
- package.go
Click to show internal directories.
Click to hide internal directories.