Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTimeTickerFunc ¶
func NewTimeTickerFunc(ch <-chan time.Time) now.NewTimeTickerFunc
Types ¶
type TimeTicker ¶
TimeTicker is an autogenerated mock type for the TimeTicker type
func NewTimeTicker ¶
func NewTimeTicker(t interface { mock.TestingT Cleanup(func()) }) *TimeTicker
NewTimeTicker creates a new instance of TimeTicker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TimeTicker) C ¶
func (_m *TimeTicker) C() <-chan time.Time
C provides a mock function with given fields:
func (*TimeTicker) Reset ¶
func (_m *TimeTicker) Reset(d time.Duration)
Reset provides a mock function with given fields: d
func (*TimeTicker) Stop ¶
func (_m *TimeTicker) Stop()
Stop provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.