mocks

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockPaymentAPI

type MockPaymentAPI struct {
	// contains filtered or unexported fields
}

MockPaymentAPI is a mock of PaymentAPI interface.

func NewMockPaymentAPI

func NewMockPaymentAPI(ctrl *gomock.Controller) *MockPaymentAPI

NewMockPaymentAPI creates a new mock instance.

func (*MockPaymentAPI) CreatePayment

CreatePayment mocks base method.

func (*MockPaymentAPI) EXPECT

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

func (*MockPaymentAPI) GetPayment

GetPayment mocks base method.

type MockPaymentAPIMockRecorder

type MockPaymentAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockPaymentAPIMockRecorder is the mock recorder for MockPaymentAPI.

func (*MockPaymentAPIMockRecorder) CreatePayment

func (mr *MockPaymentAPIMockRecorder) CreatePayment(arg0 any) *gomock.Call

CreatePayment indicates an expected call of CreatePayment.

func (*MockPaymentAPIMockRecorder) GetPayment

func (mr *MockPaymentAPIMockRecorder) GetPayment(arg0 any) *gomock.Call

GetPayment indicates an expected call of GetPayment.

type MockRedisStore

type MockRedisStore struct {
	// contains filtered or unexported fields
}

MockRedisStore is a mock of RedisStore interface.

func NewMockRedisStore

func NewMockRedisStore(ctrl *gomock.Controller) *MockRedisStore

NewMockRedisStore creates a new mock instance.

func (*MockRedisStore) BLMOVE

func (m *MockRedisStore) BLMOVE(arg0 context.Context, arg1, arg2 string) (string, error)

BLMOVE mocks base method.

func (*MockRedisStore) BRPop

func (m *MockRedisStore) BRPop(arg0 context.Context, arg1 string) (string, error)

BRPop mocks base method.

func (*MockRedisStore) CloseClient added in v1.1.2

func (m *MockRedisStore) CloseClient() error

CloseClient mocks base method.

func (*MockRedisStore) Delete

func (m *MockRedisStore) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*MockRedisStore) EXPECT

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

func (*MockRedisStore) Exists

func (m *MockRedisStore) Exists(arg0 context.Context, arg1 string) (bool, error)

Exists mocks base method.

func (*MockRedisStore) Get

func (m *MockRedisStore) Get(arg0 context.Context, arg1 string) (string, error)

Get mocks base method.

func (*MockRedisStore) LIndex

func (m *MockRedisStore) LIndex(arg0 context.Context, arg1 string, arg2 int64) error

LIndex mocks base method.

func (*MockRedisStore) LPush

func (m *MockRedisStore) LPush(arg0 context.Context, arg1 string, arg2 any) error

LPush mocks base method.

func (*MockRedisStore) LREM

func (m *MockRedisStore) LREM(arg0 context.Context, arg1 string, arg2 int64, arg3 any) error

LREM mocks base method.

func (*MockRedisStore) LRange

func (m *MockRedisStore) LRange(arg0 context.Context, arg1 string, arg2, arg3 int64) ([]string, error)

LRange mocks base method.

func (*MockRedisStore) Publish

func (m *MockRedisStore) Publish(arg0 context.Context, arg1 string, arg2 any) error

Publish mocks base method.

func (*MockRedisStore) RPush

func (m *MockRedisStore) RPush(arg0 context.Context, arg1 string, arg2 any) error

RPush mocks base method.

func (*MockRedisStore) Set

func (m *MockRedisStore) Set(arg0 context.Context, arg1 string, arg2 any, arg3 time.Duration) error

Set mocks base method.

func (*MockRedisStore) Subscribe

func (m *MockRedisStore) Subscribe(arg0 context.Context, arg1 string) (<-chan *redis.Message, error)

Subscribe mocks base method.

func (*MockRedisStore) SubscribeLog

func (m *MockRedisStore) SubscribeLog(arg0 context.Context) (<-chan *redis.Message, error)

SubscribeLog mocks base method.

type MockRedisStoreMockRecorder

type MockRedisStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockRedisStoreMockRecorder is the mock recorder for MockRedisStore.

func (*MockRedisStoreMockRecorder) BLMOVE

func (mr *MockRedisStoreMockRecorder) BLMOVE(arg0, arg1, arg2 any) *gomock.Call

BLMOVE indicates an expected call of BLMOVE.

func (*MockRedisStoreMockRecorder) BRPop

func (mr *MockRedisStoreMockRecorder) BRPop(arg0, arg1 any) *gomock.Call

BRPop indicates an expected call of BRPop.

func (*MockRedisStoreMockRecorder) CloseClient added in v1.1.2

func (mr *MockRedisStoreMockRecorder) CloseClient() *gomock.Call

CloseClient indicates an expected call of CloseClient.

func (*MockRedisStoreMockRecorder) Delete

func (mr *MockRedisStoreMockRecorder) Delete(arg0, arg1 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRedisStoreMockRecorder) Exists

func (mr *MockRedisStoreMockRecorder) Exists(arg0, arg1 any) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockRedisStoreMockRecorder) Get

func (mr *MockRedisStoreMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockRedisStoreMockRecorder) LIndex

func (mr *MockRedisStoreMockRecorder) LIndex(arg0, arg1, arg2 any) *gomock.Call

LIndex indicates an expected call of LIndex.

func (*MockRedisStoreMockRecorder) LPush

func (mr *MockRedisStoreMockRecorder) LPush(arg0, arg1, arg2 any) *gomock.Call

LPush indicates an expected call of LPush.

func (*MockRedisStoreMockRecorder) LREM

func (mr *MockRedisStoreMockRecorder) LREM(arg0, arg1, arg2, arg3 any) *gomock.Call

LREM indicates an expected call of LREM.

func (*MockRedisStoreMockRecorder) LRange

func (mr *MockRedisStoreMockRecorder) LRange(arg0, arg1, arg2, arg3 any) *gomock.Call

LRange indicates an expected call of LRange.

func (*MockRedisStoreMockRecorder) Publish

func (mr *MockRedisStoreMockRecorder) Publish(arg0, arg1, arg2 any) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockRedisStoreMockRecorder) RPush

func (mr *MockRedisStoreMockRecorder) RPush(arg0, arg1, arg2 any) *gomock.Call

RPush indicates an expected call of RPush.

func (*MockRedisStoreMockRecorder) Set

func (mr *MockRedisStoreMockRecorder) Set(arg0, arg1, arg2, arg3 any) *gomock.Call

Set indicates an expected call of Set.

func (*MockRedisStoreMockRecorder) Subscribe

func (mr *MockRedisStoreMockRecorder) Subscribe(arg0, arg1 any) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockRedisStoreMockRecorder) SubscribeLog

func (mr *MockRedisStoreMockRecorder) SubscribeLog(arg0 any) *gomock.Call

SubscribeLog indicates an expected call of SubscribeLog.

Jump to

Keyboard shortcuts

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