remote

package
v0.0.0-...-a355528 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPluginDiscovery

func NewPluginDiscovery(remotes []*url.URL) (discovery.Plugins, error)

NewPluginDiscovery creates plugin lookup given a list of urls

func ParseURLMust

func ParseURLMust(s ...string) []*url.URL

ParseURLMust returns a list of urls from string. Panics on any errors

Types

type DiscoveryResponse

type DiscoveryResponse struct {

	// Leader indicates if this node responding is a leader
	Leader bool

	// Plugins is a slice of plugin names on that node
	Plugins []string
}

DiscoveryResponse captures information about the remote node/proxy

Jump to

Keyboard shortcuts

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