Help us shape the future of Go! Take the 2026 Go Developer Survey

engine

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package engine is the in-process dispatch backend: it reacts to a run.requested fact and executes the run inside the calling process.

It owns no run logic. The sequence lives in runner, which the worker binary also calls, so DISPATCH_MODE selects where a run executes and never how it behaves. This module is the bus adapter: subscribe, load, gate, delegate.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module is the extraction engine. One run.requested fact drives one extraction.

func New

func New() *Module

New returns an unmounted engine. Providers are injected by Mount.

func (*Module) Mount

func (m *Module) Mount(_ context.Context, d module.Deps) error

Mount captures the providers this module uses. Cheap, no I/O.

func (*Module) Name

func (m *Module) Name() string

Name identifies this module.

func (*Module) Subscriptions

func (m *Module) Subscriptions() []host.Subscription

Subscriptions declares a durable consumer over run.requested across every tenant/run. The fact is only a trigger; the request payload is loaded from the DataStore.

Jump to

Keyboard shortcuts

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