mocks

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: GPL-3.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 IHeimdallClient

type IHeimdallClient struct {
	mock.Mock
}

IHeimdallClient is an autogenerated mock type for the IHeimdallClient type

func (*IHeimdallClient) Fetch

func (_m *IHeimdallClient) Fetch(path string, query string) (*bor.ResponseWithHeight, error)

Fetch provides a mock function with given fields: path, query

func (*IHeimdallClient) FetchStateSyncEvents

func (_m *IHeimdallClient) FetchStateSyncEvents(fromID uint64, to int64) ([]*bor.EventRecordWithTime, error)

FetchStateSyncEvents provides a mock function with given fields: fromID, to

func (*IHeimdallClient) FetchWithRetry

func (_m *IHeimdallClient) FetchWithRetry(path string, query string) (*bor.ResponseWithHeight, error)

FetchWithRetry provides a mock function with given fields: path, query

Jump to

Keyboard shortcuts

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