discovery

package
v0.0.0-...-1d5e6b2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery interface {

	// GetRootNode function for providing a random bootstrap address for a peer
	GetRandomNode() string

	// GetRootNode function for providing all bootstrap addresses for a peer
	GetRootNodes() []string
}

Discovery is the interface that consolidates bootstrap peer membership selection and validating peer selection for non validating peers

Jump to

Keyboard shortcuts

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