Documentation ¶ Index ¶ func RunSender(wasmPath, inputPath string) type ExtensionHook type Worker func (w *Worker) Start(ctx context.Context, enableApi bool, apiPort string) error func (w *Worker) StartAPIServer(port string) 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 Source Files ¶ View all Source files api.gosender.goworker.go Click to show internal directories. Click to hide internal directories.