mocks

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cacher

type Cacher struct {
	mock.Mock
}

Cacher is an autogenerated mock type for the Cacher type

func (*Cacher) Get

func (_m *Cacher) Get(key string) (*cache.Item, bool, error)

Get provides a mock function with given fields: key

func (*Cacher) Set

func (_m *Cacher) Set(key string, item *cache.Item, ttl time.Duration) error

Set provides a mock function with given fields: key, item, ttl

Jump to

Keyboard shortcuts

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