mocks

package
v4.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func (*Interface) HeaderByHeight

func (_m *Interface) HeaderByHeight(_a0 int) (*wire.BlockHeader, error)

HeaderByHeight provides a mock function with given fields: _a0

func (*Interface) Initialize

func (_m *Interface) Initialize()

Initialize provides a mock function with given fields:

func (*Interface) Status

func (_m *Interface) Status() (*headers.Status, error)

Status provides a mock function with given fields:

func (*Interface) SubscribeEvent

func (_m *Interface) SubscribeEvent(f func(headers.Event)) func()

SubscribeEvent provides a mock function with given fields: f

func (*Interface) TipHeight

func (_m *Interface) TipHeight() int

TipHeight provides a mock function with given fields:

Jump to

Keyboard shortcuts

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