core

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSender

func RunSender(wasmPath, inputPath string)

Types

type ExtensionHook

type ExtensionHook func(context.Context, wazero.Runtime) error

type Worker

type Worker struct {
	Host  host.Host
	Hooks []ExtensionHook
}

func (*Worker) Start

func (w *Worker) Start(ctx context.Context, enableApi bool, apiPort string) error

func (*Worker) StartAPIServer

func (w *Worker) StartAPIServer(port string)

StartAPIServer boots the local HTTP gateway on port 8080

Jump to

Keyboard shortcuts

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