mocks

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 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) BatchInsert

func (_m *Store) BatchInsert(subs []*model.Subscription) ([]common.Address, error)

BatchInsert provides a mock function with given fields: subs

func (*Store) BatchUpdateBlockNumber

func (_m *Store) BatchUpdateBlockNumber(blockNumber int64, addrs [][]byte) error

BatchUpdateBlockNumber provides a mock function with given fields: blockNumber, addrs

func (*Store) Find

func (_m *Store) Find(blockNumber int64) ([]*model.Subscription, error)

Find provides a mock function with given fields: blockNumber

func (*Store) FindByGroup

func (_m *Store) FindByGroup(groupID int64, query *model.QueryParameters) ([]*model.Subscription, uint64, error)

FindByGroup provides a mock function with given fields: groupID, query

func (*Store) FindOldSubscriptions added in v0.2.1

func (_m *Store) FindOldSubscriptions(addrs [][]byte) ([]*model.Subscription, error)

FindOldSubscriptions provides a mock function with given fields: addrs

func (*Store) FindTotalBalance

func (_m *Store) FindTotalBalance(blockNumber int64, token common.Address, group int64) (*model.TotalBalance, error)

FindTotalBalance provides a mock function with given fields: blockNumber, token, group

func (*Store) InsertTotalBalance

func (_m *Store) InsertTotalBalance(data *model.TotalBalance) error

InsertTotalBalance provides a mock function with given fields: data

func (*Store) ListOldSubscriptions added in v0.2.7

func (_m *Store) ListOldSubscriptions(query *model.QueryParameters) ([]*model.Subscription, uint64, error)

ListOldSubscriptions provides a mock function with given fields: query

func (*Store) Reset

func (_m *Store) Reset(from int64, to int64) error

Reset provides a mock function with given fields: from, to

Jump to

Keyboard shortcuts

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