Versions in this module Expand all Collapse all v1 v1.1.0 Mar 1, 2022 Changes in this version + type Clock interface + Now func() time.Time + TickAfter func(duration time.Duration) <-chan time.Time + func NewDefaultClock() Clock + type DefaultClock struct + func (DefaultClock) Now() time.Time + func (DefaultClock) TickAfter(duration time.Duration) <-chan time.Time + type TestClock struct + func NewTestClock(startTime time.Time) *TestClock + func NewTestClockWithTickSignal(startTime time.Time, tickSignal chan time.Duration) *TestClock + func (c *TestClock) Now() time.Time + func (c *TestClock) SetTime(now time.Time) + func (c *TestClock) TickAfter(duration time.Duration) <-chan time.Time Other modules containing this package github.com/ltcsuite/lnd