Documentation
¶
Overview ¶
Package backendgen emits a self-contained HTTP server bootstrap for Flow applications. The generated file depends only on Flow, Kernel, and transport; the application injects its own compiler bundles at startup.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(routes []analyzer.FlowHTTPRoute, config Config) ([]byte, error)
Generate returns formatted Go source for a Flow/Kernel HTTP server bootstrap. It mounts only HTTP routes found in .nflow @pipeline declarations. The generated function accepts application bundles, an optional mux configurator (for a UI or other app-owned handlers), and standard net/http middleware.
Types ¶
Click to show internal directories.
Click to hide internal directories.