Registry / utility / hashicorp-go-plugin

hashicorp-go-plugin

JSON →
library1.8.0gogounverified

The plugin package exposes functions and helpers for communicating with plugins implemented as standalone binary applications.

go get github.com/hashicorp/go-plugin
INSTALL
IMPORT
SIG · HASHICORP-GO-PLUGI
H
hashicorp-go-plugin
utilitygov1.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

plugin
github.com/hashicorp/go-plugin

Serve a plugin using go-plugin.

package main import ( "fmt" "github.com/hashicorp/go-plugin" ) func main() { // Example: serve a plugin plugin.Serve(&plugin.ServeConfig{ HandshakeConfig: plugin.HandshakeConfig{ProtocolVersion: 1, MagicCookieKey: "key", MagicCookieValue: "value"}, Plugins: map[string]plugin.Plugin{}, }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.8.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hashicorp-go-plugin — go get hashicorp-go-plugin · libregistry