Documentation ¶
Overview ¶
Package mockqueue is a generated GoMock package.
Index ¶
- type MockQueue
- func (m *MockQueue) EXPECT() *MockQueueMockRecorder
- func (m *MockQueue) Peek(arg0 context.Context, arg1 string, arg2 int64) ([]*queue.WebRequest, error)
- func (m *MockQueue) Pop(arg0 context.Context, arg1 string, arg2 time.Duration) (*queue.WebRequest, error)
- func (m *MockQueue) Push(arg0 context.Context, arg1 string, arg2 []*queue.WebRequest) error
- type MockQueueMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockQueue ¶
type MockQueue struct {
// contains filtered or unexported fields
}
MockQueue is a mock of Queue interface
func NewMockQueue ¶
func NewMockQueue(ctrl *gomock.Controller) *MockQueue
NewMockQueue creates a new mock instance
func (*MockQueue) EXPECT ¶
func (m *MockQueue) EXPECT() *MockQueueMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockQueue) Peek ¶
func (m *MockQueue) Peek(arg0 context.Context, arg1 string, arg2 int64) ([]*queue.WebRequest, error)
Peek mocks base method
type MockQueueMockRecorder ¶
type MockQueueMockRecorder struct {
// contains filtered or unexported fields
}
MockQueueMockRecorder is the mock recorder for MockQueue
func (*MockQueueMockRecorder) Peek ¶
func (mr *MockQueueMockRecorder) Peek(arg0, arg1, arg2 interface{}) *gomock.Call
Peek indicates an expected call of Peek
func (*MockQueueMockRecorder) Pop ¶
func (mr *MockQueueMockRecorder) Pop(arg0, arg1, arg2 interface{}) *gomock.Call
Pop indicates an expected call of Pop
func (*MockQueueMockRecorder) Push ¶
func (mr *MockQueueMockRecorder) Push(arg0, arg1, arg2 interface{}) *gomock.Call
Push indicates an expected call of Push
Click to show internal directories.
Click to hide internal directories.