Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v1.202544.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPluginName = "aspectplugin"

DefaultPluginName is the name each aspect plugin must provide.

Variables

View Source
var Handshake = goplugin.HandshakeConfig{
	ProtocolVersion:  3,
	MagicCookieKey:   "PLUGIN",
	MagicCookieValue: "ASPECT",
}

Handshake is the shared handshake config for the v1alpha4 protocol.

PluginMap represents the plugin interfaces allowed to be implemented by a plugin executable.

Functions

func NewConfigFor

func NewConfigFor(p plugin.Plugin) *goplugin.ServeConfig

NewConfigFor returns the default configuration for the passed Plugin implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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