mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDelayQueue

type MockDelayQueue[T any] struct {
	// contains filtered or unexported fields
}

MockDelayQueue is a mock of DelayQueue interface.

func NewMockDelayQueue

func NewMockDelayQueue[T any](ctrl *gomock.Controller) *MockDelayQueue[T]

NewMockDelayQueue creates a new mock instance.

func (*MockDelayQueue[T]) Chan

func (m *MockDelayQueue[T]) Chan() <-chan T

Chan mocks base method.

func (*MockDelayQueue[T]) EXPECT

func (m *MockDelayQueue[T]) EXPECT() *MockDelayQueueMockRecorder[T]

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDelayQueue[T]) Offer

func (m *MockDelayQueue[T]) Offer(elem T, expireation int64)

Offer mocks base method.

func (*MockDelayQueue[T]) Poll

func (m *MockDelayQueue[T]) Poll(ctx context.Context)

Poll mocks base method.

func (*MockDelayQueue[T]) Size

func (m *MockDelayQueue[T]) Size() int

Size mocks base method.

type MockDelayQueueMockRecorder

type MockDelayQueueMockRecorder[T any] struct {
	// contains filtered or unexported fields
}

MockDelayQueueMockRecorder is the mock recorder for MockDelayQueue.

func (*MockDelayQueueMockRecorder[T]) Chan

func (mr *MockDelayQueueMockRecorder[T]) Chan() *gomock.Call

Chan indicates an expected call of Chan.

func (*MockDelayQueueMockRecorder[T]) Offer

func (mr *MockDelayQueueMockRecorder[T]) Offer(elem, expireation interface{}) *gomock.Call

Offer indicates an expected call of Offer.

func (*MockDelayQueueMockRecorder[T]) Poll

func (mr *MockDelayQueueMockRecorder[T]) Poll(ctx interface{}) *gomock.Call

Poll indicates an expected call of Poll.

func (*MockDelayQueueMockRecorder[T]) Size

func (mr *MockDelayQueueMockRecorder[T]) Size() *gomock.Call

Size indicates an expected call of Size.

Jump to

Keyboard shortcuts

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