mock

package
v1.18.0 Latest Latest
Warning

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

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

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func (*Store) Delete

func (_m *Store) Delete(key ...string) error

Delete provides a mock function with given fields: key

func (*Store) List

func (_m *Store) List() ([]*store.Record, error)

List provides a mock function with given fields:

func (*Store) Read

func (_m *Store) Read(key ...string) ([]*store.Record, error)

Read provides a mock function with given fields: key

func (*Store) Write

func (_m *Store) Write(rec ...*store.Record) error

Write provides a mock function with given fields: rec

Jump to

Keyboard shortcuts

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