Expand description
Runtime adapter for supporting multiple plugin runtimes
This module provides an abstraction layer that allows MockForge to load and execute plugins written in different languages and compiled with different WASM runtimes.
Supported runtimes:
- Rust (native, via wasmtime)
- TinyGo (Go compiled to WASM)
- AssemblyScript (TypeScript-like, compiled to WASM)
- Remote (HTTP/gRPC-based plugins in any language)
Structs§
- Assembly
Script Adapter - Remote
Adapter - Remote
Auth Config - Remote
Runtime Config - Configuration for remote plugin runtime
- Runtime
Adapter Factory - Factory for creating runtime adapters
- Rust
Adapter - Tiny
GoAdapter
Enums§
- Remote
Protocol - Runtime
Type - Enum representing different plugin runtime types
Traits§
- Runtime
Adapter - Trait that all runtime adapters must implement
Functions§
- detect_
runtime_ type - Detect runtime type from WASM binary