mocks

package
v0.0.0-...-4b28c8f Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 2 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 MockMemory

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

MockMemory is a mock of Memory interface.

func NewMockMemory

func NewMockMemory(ctrl *gomock.Controller) *MockMemory

NewMockMemory creates a new mock instance.

func (*MockMemory) Close

func (m *MockMemory) Close() error

Close mocks base method.

func (*MockMemory) Del

func (m *MockMemory) Del(arg0 string) error

Del mocks base method.

func (*MockMemory) EXPECT

func (m *MockMemory) EXPECT() *MockMemoryMockRecorder

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

func (*MockMemory) Get

func (m *MockMemory) Get(arg0 string) (*string, error)

Get mocks base method.

func (*MockMemory) Has

func (m *MockMemory) Has(arg0 string) bool

Has mocks base method.

func (*MockMemory) Put

func (m *MockMemory) Put(arg0, arg1 string) error

Put mocks base method.

type MockMemoryMockRecorder

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

MockMemoryMockRecorder is the mock recorder for MockMemory.

func (*MockMemoryMockRecorder) Close

func (mr *MockMemoryMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockMemoryMockRecorder) Del

func (mr *MockMemoryMockRecorder) Del(arg0 any) *gomock.Call

Del indicates an expected call of Del.

func (*MockMemoryMockRecorder) Get

func (mr *MockMemoryMockRecorder) Get(arg0 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockMemoryMockRecorder) Has

func (mr *MockMemoryMockRecorder) Has(arg0 any) *gomock.Call

Has indicates an expected call of Has.

func (*MockMemoryMockRecorder) Put

func (mr *MockMemoryMockRecorder) Put(arg0, arg1 any) *gomock.Call

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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