mock_redisqueue

package
v0.0.0-...-d24e03e Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_redisqueue 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(key string) ([]string, error)

Peek mocks base method

func (*MockQueue) PopPush

func (m *MockQueue) PopPush(source, destination string) error

PopPush mocks base method

func (*MockQueue) Push

func (m *MockQueue) Push(key, val string) error

Push mocks base method

func (*MockQueue) Remove

func (m *MockQueue) Remove(key string, count int64, val interface{}) error

Remove 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(key interface{}) *gomock.Call

Peek indicates an expected call of Peek

func (*MockQueueMockRecorder) PopPush

func (mr *MockQueueMockRecorder) PopPush(source, destination interface{}) *gomock.Call

PopPush indicates an expected call of PopPush

func (*MockQueueMockRecorder) Push

func (mr *MockQueueMockRecorder) Push(key, val interface{}) *gomock.Call

Push indicates an expected call of Push

func (*MockQueueMockRecorder) Remove

func (mr *MockQueueMockRecorder) Remove(key, count, val interface{}) *gomock.Call

Remove indicates an expected call of Remove

Jump to

Keyboard shortcuts

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