module-routes

command
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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