Documentation
¶
Overview ¶
module-routes example — mount HIP-0105 extension modules as routes.
The loader is constructed by the embedding binary (typically *extruntime.Loader from hanzoai/base/plugins/extruntime, with gojavm + wasmvm + pyvm + starlarkvm registered). zip is a CONSUMER of the loader — it accepts anything that satisfies zip/runtime.Loader.
This example stubs a tiny in-memory loader so the example compiles without pulling hanzoai/base. Replace with real *extruntime.Loader in production.
Click to show internal directories.
Click to hide internal directories.