Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedClock ¶
MockedClock implements the Now method to return a predictable time and the After method to return a channel that ca be woken up on demand.
func NewMockedClock ¶
func NewMockedClock() *MockedClock
NewMockedClock creates a new instance of a mocked clock
Click to show internal directories.
Click to hide internal directories.