cachemock

package
v3.0.0-...-3edb00a Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheClientMock

type CacheClientMock struct {
	mock.Mock
}

func (CacheClientMock) Delete

func (c CacheClientMock) Delete(keys []string, prefix string) error

func (CacheClientMock) Get

func (c CacheClientMock) Get(key string) (interface{}, bool)

func (CacheClientMock) Gets

func (c CacheClientMock) Gets(keys []string, prefix string) (map[string]interface{}, []string)

func (CacheClientMock) Persist

func (c CacheClientMock) Persist(path string) error

func (CacheClientMock) Restore

func (c CacheClientMock) Restore(path string) error

func (CacheClientMock) Set

func (c CacheClientMock) Set(key string, value interface{}, ttl int) error

func (CacheClientMock) Sets

func (c CacheClientMock) Sets(values map[string]interface{}, prefix string) error

Jump to

Keyboard shortcuts

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