mocks

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 2 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) Close

func (_m *Cacher) Close() error

Close provides a mock function with given fields:

func (*Cacher) Delete

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

Delete provides a mock function with given fields: key

func (*Cacher) Get

func (_m *Cacher) Get(key string, data interface{}) error

Get provides a mock function with given fields: key, data

func (*Cacher) Set

func (_m *Cacher) Set(key string, data interface{}, ttl ...time.Duration) error

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

Jump to

Keyboard shortcuts

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