mock_engine

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_engine is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCacheEngine

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

MockCacheEngine is a mock of CacheEngine interface.

func NewMockCacheEngine

func NewMockCacheEngine(ctrl *gomock.Controller) *MockCacheEngine

NewMockCacheEngine creates a new mock instance.

func (*MockCacheEngine) EXPECT

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

func (*MockCacheEngine) Get

func (m *MockCacheEngine) Get(ctx context.Context, key string, req *http.Request) (*http.Response, bool, error)

Get mocks base method.

func (*MockCacheEngine) Key

func (m *MockCacheEngine) Key(req *http.Request) (string, error)

Key mocks base method.

func (*MockCacheEngine) Set

func (m *MockCacheEngine) Set(ctx context.Context, key string, res *http.Response, expiration time.Duration) error

Set mocks base method.

type MockCacheEngineMockRecorder

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

MockCacheEngineMockRecorder is the mock recorder for MockCacheEngine.

func (*MockCacheEngineMockRecorder) Get

func (mr *MockCacheEngineMockRecorder) Get(ctx, key, req any) *gomock.Call

Get indicates an expected call of Get.

func (*MockCacheEngineMockRecorder) Key

Key indicates an expected call of Key.

func (*MockCacheEngineMockRecorder) Set

func (mr *MockCacheEngineMockRecorder) Set(ctx, key, res, expiration any) *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