Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNetwork ¶
type FakeNetwork struct { Hosts map[string]*FakeSocket // contains filtered or unexported fields }
func CreateFakeNetwork ¶
func CreateFakeNetwork() *FakeNetwork
type FakeSocket ¶
type FakeSocket struct {
// contains filtered or unexported fields
}
type MockMessenger ¶
type MockMessenger struct {
// contains filtered or unexported fields
}
func CreateMessenger ¶
func CreateMessenger(network Network, node p2p.Node) *MockMessenger
func (*MockMessenger) ListenForever ¶
Click to show internal directories.
Click to hide internal directories.