plugins

package
v0.20.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HandshakeConfig = plugin.HandshakeConfig{
	ProtocolVersion:  1,
	MagicCookieKey:   "PORTER",
	MagicCookieValue: "bbc2dd71-def4-4311-906e-e98dc27208ce",
}

Common handshake config between Porter and its plugins.

Functions

func Serve

func Serve(interfaceName string, pluginImplementation plugin.Plugin)

Serve a single named plugin.

func ServeMany

func ServeMany(pluginMap map[string]plugin.Plugin)

Serve many plugins that the client will select by named interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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