mock

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMemcachedClient

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

MockMemcachedClient is a mock of MemcachedClient interface

func NewMockMemcachedClient

func NewMockMemcachedClient(ctrl *gomock.Controller) *MockMemcachedClient

NewMockMemcachedClient creates a new mock instance

func (*MockMemcachedClient) EXPECT

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

func (*MockMemcachedClient) Get

func (m *MockMemcachedClient) Get(key string) (*memcache.Item, error)

Get mocks base method

func (*MockMemcachedClient) Set

func (m *MockMemcachedClient) Set(item *memcache.Item) error

Set mocks base method

type MockMemcachedClientMockRecorder

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

MockMemcachedClientMockRecorder is the mock recorder for MockMemcachedClient

func (*MockMemcachedClientMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockMemcachedClientMockRecorder) Set

func (mr *MockMemcachedClientMockRecorder) Set(item 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