Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StubClock ¶
type StubClock struct {
// contains filtered or unexported fields
}
StubClock is a way to stub the progress of time
func NewStubClock ¶
NewStubClock creates a new stubbable clock
func (*StubClock) NewTimer ¶
func (s *StubClock) NewTimer(d time.Duration) timekeeper.Timer
NewTimer stubs time.NewTimer
Click to show internal directories.
Click to hide internal directories.