engine

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package engine provides route binding, HTTP multiplexing, and pipeline initialization.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

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

Engine is the central HTTP coordinator.

func New

func New(options manifest.Options) (*Engine, error)

New initializes an Engine by parsing manifests, statically compiling services, and registering routes.

func (*Engine) Close

func (e *Engine) Close() error

Close gracefully closes all active database and cache connection pools.

func (*Engine) Handler

func (e *Engine) Handler() http.Handler

Handler returns the underlying http.Handler multiplexer.

func (*Engine) RegisterStep

func (e *Engine) RegisterStep(name string, handler runtime.StepHandler) error

RegisterStep registers a named custom Go function for the pipeline runtime.

func (*Engine) Server

func (e *Engine) Server() manifest.Server

Server returns the server configuration with defaults applied.

type PipelineExecutor

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

PipelineExecutor coordinates sequential pipeline step dispatching.

func NewPipelineExecutor

func NewPipelineExecutor(
	steps []parser.ParsedStep,
	goSteps map[string]runtime.StepHandler,
	sqlManager *connsql.Manager,
) *PipelineExecutor

NewPipelineExecutor creates a new instance of the pipeline runner.

func (*PipelineExecutor) Execute

Execute walks through configured steps sequentially, updating context state.

Jump to

Keyboard shortcuts

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