mock

package
v0.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2016 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultMockPipe

func NewDefaultMockPipe() ep.Pipe

Create a mock pipe with default mock data.

func NewMockPipe

func NewMockPipe(td *td.TestData) ep.Pipe

Create a new mock tendermint pipe.

Types

type MockPipe

type MockPipe struct {
	// contains filtered or unexported fields
}

Base struct.

func (*MockPipe) Accounts

func (this *MockPipe) Accounts() ep.Accounts

func (*MockPipe) Blockchain

func (this *MockPipe) Blockchain() ep.Blockchain

func (*MockPipe) Consensus

func (this *MockPipe) Consensus() ep.Consensus

func (*MockPipe) Events

func (this *MockPipe) Events() ep.EventEmitter

func (*MockPipe) NameReg

func (this *MockPipe) NameReg() ep.NameReg

func (*MockPipe) Net

func (this *MockPipe) Net() ep.Net

func (*MockPipe) Transactor

func (this *MockPipe) Transactor() ep.Transactor

Jump to

Keyboard shortcuts

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