type PassiveClock …
type Clock …
type WithTicker …
type WithDelayedExecution …
type WithTickerAndDelayedExecution …
type Ticker …
var _ …
type RealClock …
func (RealClock) Now() time.Time { … }
func (RealClock) Since(ts time.Time) time.Duration { … }
func (RealClock) After(d time.Duration) <-chan time.Time { … }
func (RealClock) NewTimer(d time.Duration) Timer { … }
func (RealClock) AfterFunc(d time.Duration, f func()) Timer { … }
func (RealClock) Tick(d time.Duration) <-chan time.Time { … }
func (RealClock) NewTicker(d time.Duration) Ticker { … }
func (RealClock) Sleep(d time.Duration) { … }
type Timer …
var _ …
type realTimer …
func (r *realTimer) C() <-chan time.Time { … }
func (r *realTimer) Stop() bool { … }
func (r *realTimer) Reset(d time.Duration) bool { … }
type realTicker …
func (r *realTicker) C() <-chan time.Time { … }
func (r *realTicker) Stop() { … }