mock_cachebox

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_cachebox is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorage

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

MockStorage is a mock of Storage interface

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) Delete

func (m *MockStorage) Delete(arg0 context.Context, arg1 ...string) error

Delete mocks base method

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) MGet

func (m *MockStorage) MGet(arg0 context.Context, arg1 ...string) ([][]byte, error)

MGet mocks base method

func (*MockStorage) Set

func (m *MockStorage) Set(arg0 context.Context, arg1 ...cachebox.Item) error

Set mocks base method

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) Delete

func (mr *MockStorageMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockStorageMockRecorder) MGet

func (mr *MockStorageMockRecorder) MGet(arg0 interface{}, arg1 ...interface{}) *gomock.Call

MGet indicates an expected call of MGet

func (*MockStorageMockRecorder) Set

func (mr *MockStorageMockRecorder) Set(arg0 interface{}, arg1 ...interface{}) *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