mock

package
v1.29.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 4 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 MockRedisRepository

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

MockRedisRepository is a mock of RedisRepository interface.

func NewMockRedisRepository

func NewMockRedisRepository(ctrl *gomock.Controller) *MockRedisRepository

NewMockRedisRepository creates a new mock instance.

func (*MockRedisRepository) Del

func (m *MockRedisRepository) Del(arg0 context.Context, arg1 string) error

Del mocks base method.

func (*MockRedisRepository) EXPECT

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

func (*MockRedisRepository) Get

func (m *MockRedisRepository) Get(arg0 context.Context, arg1 string) error

Get mocks base method.

func (*MockRedisRepository) Set

func (m *MockRedisRepository) Set(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) error

Set mocks base method.

type MockRedisRepositoryMockRecorder

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

MockRedisRepositoryMockRecorder is the mock recorder for MockRedisRepository.

func (*MockRedisRepositoryMockRecorder) Del

func (mr *MockRedisRepositoryMockRecorder) Del(arg0, arg1 any) *gomock.Call

Del indicates an expected call of Del.

func (*MockRedisRepositoryMockRecorder) Get

func (mr *MockRedisRepositoryMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockRedisRepositoryMockRecorder) Set

func (mr *MockRedisRepositoryMockRecorder) Set(arg0, arg1, arg2, arg3 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