Versions in this module Expand all Collapse all v1 v1.1.0 Apr 6, 2023 v1.0.0 May 18, 2018 Changes in this version + type FakeClock struct + func NewFakeClock(now time.Time) *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