mock_redis

package
v15.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_redis is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExpiringHashInterface

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

MockExpiringHashInterface is a mock of ExpiringHashInterface interface.

func NewMockExpiringHashInterface

func NewMockExpiringHashInterface(ctrl *gomock.Controller) *MockExpiringHashInterface

NewMockExpiringHashInterface creates a new mock instance.

func (*MockExpiringHashInterface) EXPECT

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

func (*MockExpiringHashInterface) Forget added in v15.3.0

func (m *MockExpiringHashInterface) Forget(arg0 interface{}, arg1 int64)

Forget mocks base method.

func (*MockExpiringHashInterface) GC

GC mocks base method.

func (*MockExpiringHashInterface) Len added in v15.2.0

func (m *MockExpiringHashInterface) Len(arg0 context.Context, arg1 interface{}) (int64, error)

Len mocks base method.

func (*MockExpiringHashInterface) Refresh

Refresh mocks base method.

func (*MockExpiringHashInterface) Scan

func (m *MockExpiringHashInterface) Scan(arg0 context.Context, arg1 interface{}, arg2 redistool.ScanCallback) (int, error)

Scan mocks base method.

func (*MockExpiringHashInterface) Set

func (m *MockExpiringHashInterface) Set(arg0 interface{}, arg1 int64, arg2 []byte) redistool.IOFunc

Set mocks base method.

func (*MockExpiringHashInterface) Unset

func (m *MockExpiringHashInterface) Unset(arg0 interface{}, arg1 int64) redistool.IOFunc

Unset mocks base method.

type MockExpiringHashInterfaceMockRecorder

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

MockExpiringHashInterfaceMockRecorder is the mock recorder for MockExpiringHashInterface.

func (*MockExpiringHashInterfaceMockRecorder) Forget added in v15.3.0

func (mr *MockExpiringHashInterfaceMockRecorder) Forget(arg0, arg1 interface{}) *gomock.Call

Forget indicates an expected call of Forget.

func (*MockExpiringHashInterfaceMockRecorder) GC

GC indicates an expected call of GC.

func (*MockExpiringHashInterfaceMockRecorder) Len added in v15.2.0

func (mr *MockExpiringHashInterfaceMockRecorder) Len(arg0, arg1 interface{}) *gomock.Call

Len indicates an expected call of Len.

func (*MockExpiringHashInterfaceMockRecorder) Refresh

func (mr *MockExpiringHashInterfaceMockRecorder) Refresh(arg0 interface{}) *gomock.Call

Refresh indicates an expected call of Refresh.

func (*MockExpiringHashInterfaceMockRecorder) Scan

func (mr *MockExpiringHashInterfaceMockRecorder) Scan(arg0, arg1, arg2 interface{}) *gomock.Call

Scan indicates an expected call of Scan.

func (*MockExpiringHashInterfaceMockRecorder) Set

func (mr *MockExpiringHashInterfaceMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockExpiringHashInterfaceMockRecorder) Unset

func (mr *MockExpiringHashInterfaceMockRecorder) Unset(arg0, arg1 interface{}) *gomock.Call

Unset indicates an expected call of Unset.

Jump to

Keyboard shortcuts

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