Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2020 Changes in this version + var Buckets = []float64 + type Clock struct + func (c *Clock) Set(time time.Time) + func (c *Clock) Sync() + func (c *Clock) Time() time.Time + func (c *Clock) Unix() uint64 + type Executor struct + func (e *Executor) Add(event func()) + func (e *Executor) Dispatch() + func (e *Executor) Initialize() + func (e *Executor) Stop() + type Meter interface + Tick func() + Ticks func() int + type Repeater struct + func NewRepeater(handler func(), frequency time.Duration) *Repeater + func (r *Repeater) Dispatch() + func (r *Repeater) Stop() + type TimedMeter struct + Duration time.Duration + func (tm *TimedMeter) Tick() + func (tm *TimedMeter) Ticks() int + type TimeoutManager struct + func (tm *TimeoutManager) Dispatch() + func (tm *TimeoutManager) Initialize(duration time.Duration) + func (tm *TimeoutManager) Put(id ids.ID, handler func()) + func (tm *TimeoutManager) Remove(id ids.ID) + func (tm *TimeoutManager) Stop() + func (tm *TimeoutManager) Timeout() + type Timer struct + func NewTimer(handler func()) *Timer + func (t *Timer) Cancel() + func (t *Timer) Dispatch() + func (t *Timer) SetTimeoutIn(duration time.Duration) + func (t *Timer) Stop()