mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 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 Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func NewStore

func NewStore(t mockConstructorTestingTNewStore) *Store

NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Store) Delete

func (_m *Store) Delete(k string)

Delete provides a mock function with given fields: k

func (*Store) Flush

func (_m *Store) Flush()

Flush provides a mock function with given fields:

func (*Store) Get

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

Get provides a mock function with given fields: k

func (*Store) Set

func (_m *Store) 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