mockqueue

package
v0.0.0-pre.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mockqueue is a generated GoMock package.

Index

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

func (*MockQueue) Pop

func (m *MockQueue) Pop(arg0 context.Context, arg1 string, arg2 time.Duration) (*queue.WebRequest, error)

Pop mocks base method

func (*MockQueue) Push

func (m *MockQueue) Push(arg0 context.Context, arg1 string, arg2 []*queue.WebRequest) error

Push 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL