mock

package
v0.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagerMock

type ManagerMock struct {
	mock.Mock
}

func (*ManagerMock) Delete

func (m *ManagerMock) Delete(ctx context.Context, keys ...string) error

func (*ManagerMock) Get

func (m *ManagerMock) Get(ctx context.Context, key string, value interface{}) error

func (*ManagerMock) Invalidate

func (m *ManagerMock) Invalidate(ctx context.Context, keyRegex string) error

func (*ManagerMock) Set

func (m *ManagerMock) Set(ctx context.Context, key string, value interface{}) error

func (*ManagerMock) SetWithExpiration

func (m *ManagerMock) SetWithExpiration(
	ctx context.Context, key string, value interface{}, expiration time.Duration,
) error

Jump to

Keyboard shortcuts

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