Documentation ¶
Overview ¶
Package mockclock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClock ¶
type MockClock struct {
// contains filtered or unexported fields
}
MockClock is a mock of Clock interface.
func NewMockClock ¶
func NewMockClock(ctrl *gomock.Controller) *MockClock
NewMockClock creates a new mock instance.
func (*MockClock) EXPECT ¶
func (m *MockClock) EXPECT() *MockClockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClockMockRecorder ¶
type MockClockMockRecorder struct {
// contains filtered or unexported fields
}
MockClockMockRecorder is the mock recorder for MockClock.
func (*MockClockMockRecorder) After ¶
func (mr *MockClockMockRecorder) After(arg0 interface{}) *gomock.Call
After indicates an expected call of After.
func (*MockClockMockRecorder) NewTicker ¶
func (mr *MockClockMockRecorder) NewTicker(arg0 interface{}) *gomock.Call
NewTicker indicates an expected call of NewTicker.
func (*MockClockMockRecorder) Now ¶
func (mr *MockClockMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now.
type MockTicker ¶
type MockTicker struct {
// contains filtered or unexported fields
}
MockTicker is a mock of Ticker interface.
func NewMockTicker ¶
func NewMockTicker(ctrl *gomock.Controller) *MockTicker
NewMockTicker creates a new mock instance.
func (*MockTicker) EXPECT ¶
func (m *MockTicker) EXPECT() *MockTickerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTickerMockRecorder ¶
type MockTickerMockRecorder struct {
// contains filtered or unexported fields
}
MockTickerMockRecorder is the mock recorder for MockTicker.
func (*MockTickerMockRecorder) C ¶
func (mr *MockTickerMockRecorder) C() *gomock.Call
C indicates an expected call of C.
func (*MockTickerMockRecorder) Stop ¶
func (mr *MockTickerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.