register

package
v0.0.0-...-2bbfdd9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package register wires the WASI plugins into the wago engine's global plugin registry as a side effect of import. A custom wago build includes WASI by blank-importing it:

import _ "github.com/wago-org/wasi/register"

This is the generic plugin-registration convention: a plugin module ships a `register` package whose init() calls wago.RegisterExtension, so `wago plugin build` only has to blank-import it — no engine-side special-casing.

It lives in its own leaf package (not the module root) because it imports the p1/unstable subpackages, which import the root for their manifest metadata; a root-level init() would create an import cycle.

Jump to

Keyboard shortcuts

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