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§
- AssemblyScript Adapter 
- RemoteAdapter 
- RemoteAuth Config 
- RemoteRuntime Config 
- Configuration for remote plugin runtime
- RuntimeAdapter Factory 
- Factory for creating runtime adapters
- RustAdapter 
- TinyGoAdapter 
Enums§
- RemoteProtocol 
- RuntimeType 
- Enum representing different plugin runtime types
Traits§
- RuntimeAdapter 
- Trait that all runtime adapters must implement
Functions§
- detect_runtime_ type 
- Detect runtime type from WASM binary