topologies

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPlugin

type MockPlugin struct {
	*network.Plugin
	Mailbox chan *messages.BasicMessage
}

MockPlugin buffers all messages into a mailbox for this test.

func (*MockPlugin) Receive

func (state *MockPlugin) Receive(ctx *network.PluginContext) error

func (*MockPlugin) Startup

func (state *MockPlugin) Startup(net *network.Network)

Directories

Path Synopsis
Package messages is a generated protocol buffer package.
Package messages is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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