Versions in this module Expand all Collapse all v0 v0.12.0 Jun 11, 2026 v0.11.0 Jun 11, 2026 Changes in this version + const DefaultMemoryLimitPages + const DefaultTimeout + func LoadPlugin(ctx context.Context, spec Spec) ([]byte, error) + func Run(ctx context.Context, wasmBytes, request []byte, opts RunOptions) ([]byte, error) + type RunError struct + ExitCode uint32 + Stderr string + func (e *RunError) Error() string + type RunOptions struct + Args []string + MemoryLimitPages uint32 + Timeout time.Duration + type Spec struct + BaseDir string + CacheDir string + Path string + SHA256 string + URL string