mocks

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

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(ctx context.Context, from int64, to int64) error

Delete provides a mock function with given fields: ctx, from, to

func (*Store) FindTransaction

func (_m *Store) FindTransaction(ctx context.Context, hash []byte) (*model.Transaction, error)

FindTransaction provides a mock function with given fields: ctx, hash

func (*Store) FindTransactionsByBlockHash

func (_m *Store) FindTransactionsByBlockHash(ctx context.Context, blockHash []byte) ([]*model.Transaction, error)

FindTransactionsByBlockHash provides a mock function with given fields: ctx, blockHash

func (*Store) Insert

func (_m *Store) Insert(ctx context.Context, data *model.Transaction) error

Insert provides a mock function with given fields: ctx, data

Jump to

Keyboard shortcuts

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