gossip

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0, BSD-2-Clause Imports: 21 Imported by: 1

Documentation

Index

Constants

View Source
const PluginName = "Gossip"

PluginName is the name of the gossip plugin.

Variables

View Source
var ErrMessageNotFound = errors.New("message not found")

ErrMessageNotFound is returned when a message could not be found in the Tangle.

View Source
var Parameters = struct {
	// NetworkVersion defines the config flag of the network version.
	Port int `default:"14666" usage:"tcp port for gossip connection"`
}{}

Parameters contains the configuration parameters used by the gossip plugin.

Functions

func Manager added in v0.2.0

func Manager() *gossip.Manager

Manager returns the manager instance of the gossip plugin.

func Plugin added in v0.2.0

func Plugin() *node.Plugin

Plugin gets the plugin instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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