cache

package
v0.0.0-...-44f477e Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	mock.Mock
}

Cache is an autogenerated mock type for the Cache type

func (*Cache) Contains

func (_m *Cache) Contains(key string) bool

Contains provides a mock function with given fields: key

func (*Cache) Delete

func (_m *Cache) Delete(key string) error

Delete provides a mock function with given fields: key

func (*Cache) Fetch

func (_m *Cache) Fetch(key string, value interface{}) error

Fetch provides a mock function with given fields: key, value

func (*Cache) Ping

func (_m *Cache) Ping() error

Ping provides a mock function with given fields:

func (*Cache) Save

func (_m *Cache) Save(key string, value interface{}, expiration ...time.Duration) error

Save provides a mock function with given fields: key, value, expiration

Jump to

Keyboard shortcuts

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