mocks

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 5 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 MockClientInterface

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

MockClientInterface is a mock of ClientInterface interface.

func NewMockClientInterface

func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface

NewMockClientInterface creates a new mock instance.

func (*MockClientInterface) EXPECT

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

func (*MockClientInterface) MGet

func (m *MockClientInterface) MGet(ctx context.Context, keys ...string) *redis.SliceCmd

MGet mocks base method.

func (*MockClientInterface) Pipelined

func (m *MockClientInterface) Pipelined(ctx context.Context, fn func(redis.Pipeliner) error) ([]redis.Cmder, error)

Pipelined mocks base method.

type MockClientInterfaceMockRecorder

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

MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.

func (*MockClientInterfaceMockRecorder) MGet

func (mr *MockClientInterfaceMockRecorder) MGet(ctx any, keys ...any) *gomock.Call

MGet indicates an expected call of MGet.

func (*MockClientInterfaceMockRecorder) Pipelined

func (mr *MockClientInterfaceMockRecorder) Pipelined(ctx, fn any) *gomock.Call

Pipelined indicates an expected call of Pipelined.

type MockpipelinerInterface

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

MockpipelinerInterface is a mock of pipelinerInterface interface.

func NewMockpipelinerInterface

func NewMockpipelinerInterface(ctrl *gomock.Controller) *MockpipelinerInterface

NewMockpipelinerInterface creates a new mock instance.

func (*MockpipelinerInterface) EXPECT

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

func (*MockpipelinerInterface) Set

func (m *MockpipelinerInterface) Set(ctx context.Context, key string, value any, expiration time.Duration) *redis.StatusCmd

Set mocks base method.

type MockpipelinerInterfaceMockRecorder

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

MockpipelinerInterfaceMockRecorder is the mock recorder for MockpipelinerInterface.

func (*MockpipelinerInterfaceMockRecorder) Set

func (mr *MockpipelinerInterfaceMockRecorder) Set(ctx, key, value, expiration any) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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