plugins

package
v0.18.1-beta.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 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(name string, p 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 name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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