mock_ttllru

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_ttllru is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mockcacher

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

Mockcacher is a mock of cacher interface.

func NewMockcacher

func NewMockcacher(ctrl *gomock.Controller) *Mockcacher

NewMockcacher creates a new mock instance.

func (*Mockcacher) Add

func (m *Mockcacher) Add(key, value interface{}) bool

Add mocks base method.

func (*Mockcacher) EXPECT

func (m *Mockcacher) EXPECT() *MockcacherMockRecorder

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

func (*Mockcacher) Get

func (m *Mockcacher) Get(key interface{}) (interface{}, bool)

Get mocks base method.

func (*Mockcacher) Remove

func (m *Mockcacher) Remove(key interface{}) bool

Remove mocks base method.

type MockcacherMockRecorder

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

MockcacherMockRecorder is the mock recorder for Mockcacher.

func (*MockcacherMockRecorder) Add

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

Add indicates an expected call of Add.

func (*MockcacherMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockcacherMockRecorder) Remove

func (mr *MockcacherMockRecorder) Remove(key interface{}) *gomock.Call

Remove indicates an expected call of Remove.

Jump to

Keyboard shortcuts

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