mocks

package
v0.2.20-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 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 Mockcache

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

Mockcache is a mock of cache interface.

func NewMockcache

func NewMockcache(ctrl *gomock.Controller) *Mockcache

NewMockcache creates a new mock instance.

func (*Mockcache) Add

func (m *Mockcache) Add(key, value any) bool

Add mocks base method.

func (*Mockcache) EXPECT

func (m *Mockcache) EXPECT() *MockcacheMockRecorder

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

func (*Mockcache) Get

func (m *Mockcache) Get(key any) (any, bool)

Get mocks base method.

type MockcacheMockRecorder

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

MockcacheMockRecorder is the mock recorder for Mockcache.

func (*MockcacheMockRecorder) Add

func (mr *MockcacheMockRecorder) Add(key, value interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockcacheMockRecorder) Get

func (mr *MockcacheMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

Jump to

Keyboard shortcuts

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