plugin-runtimes/

directory
v0.0.0-...-d315931 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: MIT

README

One typed plugin, three dynamic runtimes

  • echo/: shared typed method, schema, descriptor, handler and authorization.
  • nativego/: Go -buildmode=plugin factory export.
  • wasi/: Go wasip1/wasm command serving Ext JSON lines.
  • cshared/: Go -buildmode=c-shared with four C ABI exports.
  • host/: one verified host calling the same method through each backend.

See the runtime authoring guide for build/run commands, supported targets, package metadata and lifecycle behavior.

Directories

Path Synopsis
Build with -buildmode=c-shared.
Build with -buildmode=c-shared.
Package echo contains the single typed implementation shared by all runtime examples.
Package echo contains the single typed implementation shared by all runtime examples.
One host and typed contract, three dynamically loaded runtime implementations.
One host and typed contract, three dynamically loaded runtime implementations.
Build with: go build -buildmode=plugin -o echo.so ./examples/plugins/go/plugin-runtimes/nativego
Build with: go build -buildmode=plugin -o echo.so ./examples/plugins/go/plugin-runtimes/nativego
Build with GOOS=wasip1 GOARCH=wasm.
Build with GOOS=wasip1 GOARCH=wasm.

Jump to

Keyboard shortcuts

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