mocks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the Storage type

func (*Storage) Close

func (_m *Storage) Close() error

Close provides a mock function with given fields:

func (*Storage) Del

func (_m *Storage) Del(key []byte) error

Del provides a mock function with given fields: key

func (*Storage) DisableBatch

func (_m *Storage) DisableBatch()

DisableBatch provides a mock function with given fields:

func (*Storage) EnableBatch

func (_m *Storage) EnableBatch()

EnableBatch provides a mock function with given fields:

func (*Storage) Flush

func (_m *Storage) Flush() error

Flush provides a mock function with given fields:

func (*Storage) Get

func (_m *Storage) Get(key []byte) ([]byte, error)

Get provides a mock function with given fields: key

func (*Storage) Put

func (_m *Storage) Put(key []byte, val []byte) error

Put provides a mock function with given fields: key, val

Jump to

Keyboard shortcuts

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