Versions in this module Expand all Collapse all v0 v0.1.0 Jun 16, 2026 Changes in this version + const DefaultMaxExecTime + const DefaultMaxMemory + var ErrResourceLimitsExceeded = errors.New("plugin exceeded resource limits") + type ExecutionResult struct + Err error + Results []uint64 + type Runtime struct + func NewRuntime(ctx context.Context, config RuntimeConfig) (Runtime, error) + func (r Runtime) Close(ctx context.Context) error + func (r Runtime) Config() RuntimeConfig + func (r Runtime) ExecuteFunc(ctx context.Context, module api.Module, funcName string, args ...uint64) ExecutionResult + func (r Runtime) GetVersion() string + func (r Runtime) Runtime() wazero.Runtime + type RuntimeConfig struct + Logger func(string) + MaxExecutionTime time.Duration + MaxMemoryBytes uint64