Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( wire.InterfaceValue(new(Clock), NewSystemClock()), )
Functions ¶
This section is empty.
Types ¶
type MockClock ¶
func NewMockClock ¶
func NewMockClock() *MockClock
func NewMockClockAt ¶
func NewMockClockAtTime ¶
func (*MockClock) AdvanceSeconds ¶
func (*MockClock) NowMonotonic ¶
type SystemClock ¶
type SystemClock struct{}
func NewSystemClock ¶
func NewSystemClock() *SystemClock
func (*SystemClock) NowMonotonic ¶
func (*SystemClock) NowMonotonic() time.Time
func (*SystemClock) NowUTC ¶
func (*SystemClock) NowUTC() time.Time
Click to show internal directories.
Click to hide internal directories.