Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTimerTask
- type MockTimerTaskMockRecorder
- type MockTimingWheel
- func (m *MockTimingWheel) AfterFunc(d time.Duration, f timingwheel.Handler) (timingwheel.TimerTask, error)
- func (m *MockTimingWheel) EXPECT() *MockTimingWheelMockRecorder
- func (m *MockTimingWheel) Start()
- func (m *MockTimingWheel) Stop()
- func (m *MockTimingWheel) TickFunc(d time.Duration, f timingwheel.Handler) (timingwheel.TimerTask, error)
- type MockTimingWheelMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTimerTask ¶
type MockTimerTask struct {
// contains filtered or unexported fields
}
MockTimerTask is a mock of TimerTask interface.
func NewMockTimerTask ¶
func NewMockTimerTask(ctrl *gomock.Controller) *MockTimerTask
NewMockTimerTask creates a new mock instance.
func (*MockTimerTask) EXPECT ¶
func (m *MockTimerTask) EXPECT() *MockTimerTaskMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTimerTaskMockRecorder ¶
type MockTimerTaskMockRecorder struct {
// contains filtered or unexported fields
}
MockTimerTaskMockRecorder is the mock recorder for MockTimerTask.
func (*MockTimerTaskMockRecorder) Stop ¶
func (mr *MockTimerTaskMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockTimingWheel ¶
type MockTimingWheel struct {
// contains filtered or unexported fields
}
MockTimingWheel is a mock of TimingWheel interface.
func NewMockTimingWheel ¶
func NewMockTimingWheel(ctrl *gomock.Controller) *MockTimingWheel
NewMockTimingWheel creates a new mock instance.
func (*MockTimingWheel) AfterFunc ¶
func (m *MockTimingWheel) AfterFunc(d time.Duration, f timingwheel.Handler) (timingwheel.TimerTask, error)
AfterFunc mocks base method.
func (*MockTimingWheel) EXPECT ¶
func (m *MockTimingWheel) EXPECT() *MockTimingWheelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTimingWheel) TickFunc ¶
func (m *MockTimingWheel) TickFunc(d time.Duration, f timingwheel.Handler) (timingwheel.TimerTask, error)
TickFunc mocks base method.
type MockTimingWheelMockRecorder ¶
type MockTimingWheelMockRecorder struct {
// contains filtered or unexported fields
}
MockTimingWheelMockRecorder is the mock recorder for MockTimingWheel.
func (*MockTimingWheelMockRecorder) AfterFunc ¶
func (mr *MockTimingWheelMockRecorder) AfterFunc(d, f interface{}) *gomock.Call
AfterFunc indicates an expected call of AfterFunc.
func (*MockTimingWheelMockRecorder) Start ¶
func (mr *MockTimingWheelMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockTimingWheelMockRecorder) Stop ¶
func (mr *MockTimingWheelMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockTimingWheelMockRecorder) TickFunc ¶
func (mr *MockTimingWheelMockRecorder) TickFunc(d, f interface{}) *gomock.Call
TickFunc indicates an expected call of TickFunc.