Documentation
¶
Index ¶
- func NewDefaultMockPipe() ep.Pipe
- func NewMockPipe(td *td.TestData) ep.Pipe
- type MockPipe
- func (this *MockPipe) Accounts() ep.Accounts
- func (this *MockPipe) Blockchain() ep.Blockchain
- func (this *MockPipe) Consensus() ep.Consensus
- func (this *MockPipe) Events() ep.EventEmitter
- func (this *MockPipe) NameReg() ep.NameReg
- func (this *MockPipe) Net() ep.Net
- func (this *MockPipe) Transactor() ep.Transactor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultMockPipe ¶
Create a mock pipe with default mock data.
Types ¶
type MockPipe ¶
type MockPipe struct {
// contains filtered or unexported fields
}
Base struct.
func (*MockPipe) Blockchain ¶
func (this *MockPipe) Blockchain() ep.Blockchain
func (*MockPipe) Events ¶
func (this *MockPipe) Events() ep.EventEmitter
func (*MockPipe) Transactor ¶
func (this *MockPipe) Transactor() ep.Transactor
Click to show internal directories.
Click to hide internal directories.