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: 4 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(ctx context.Context, subs []*model.Subscription) ([]common.Address, error)

BatchInsert provides a mock function with given fields: ctx, subs

func (*Store) BatchUpdateBlockNumber

func (_m *Store) BatchUpdateBlockNumber(ctx context.Context, blockNumber int64, addrs [][]byte) error

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

func (*Store) Find

func (_m *Store) Find(ctx context.Context, blockNumber int64, query *model.QueryParameters) ([]*model.Subscription, uint64, error)

Find provides a mock function with given fields: ctx, blockNumber, query

func (*Store) FindByGroup

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

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

func (*Store) FindOldSubscriptions added in v0.2.1

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

FindOldSubscriptions provides a mock function with given fields: ctx, addrs

func (*Store) FindTotalBalance

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

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

func (*Store) InsertTotalBalance

func (_m *Store) InsertTotalBalance(ctx context.Context, data *model.TotalBalance) error

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

func (*Store) ListOldSubscriptions added in v0.2.7

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

ListOldSubscriptions provides a mock function with given fields: ctx, query

func (*Store) Reset

func (_m *Store) Reset(ctx context.Context, from int64, to int64) error

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

Jump to

Keyboard shortcuts

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