mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 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 Cacher

type Cacher struct {
	mock.Mock
}

Cacher is an autogenerated mock type for the Cacher type

func (*Cacher) Flush

func (_m *Cacher) Flush()

Flush provides a mock function with given fields:

func (*Cacher) Get

func (_m *Cacher) Get(k string) (interface{}, bool)

Get provides a mock function with given fields: k

func (*Cacher) Set

func (_m *Cacher) Set(k string, x interface{}, d time.Duration)

Set provides a mock function with given fields: k, x, d

Jump to

Keyboard shortcuts

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