Directories
¶
| Path | Synopsis |
|---|---|
|
Package assert provides the `assert(cond, msg)` keyword and the `@assert: expr` directive.
|
Package assert provides the `assert(cond, msg)` keyword and the `@assert: expr` directive. |
|
Package config provides the @config and @config.load directives that populate meta["config"], which OnPreprocess forwards to the compiler as a compile-time key-value map.
|
Package config provides the @config and @config.load directives that populate meta["config"], which OnPreprocess forwards to the compiler as a compile-time key-value map. |
|
Package config_yaml registers a YAML decoder with extensions/config.
|
Package config_yaml registers a YAML decoder with extensions/config. |
|
Package decide provides the `decide` action: it evaluates a state against a registered decision backend and returns structured answers.
|
Package decide provides the `decide` action: it evaluates a state against a registered decision backend and returns structured answers. |
|
Package description provides the `@description "..."` directive, which records a human-readable summary of a .nflow file into meta["description"].
|
Package description provides the `@description "..."` directive, which records a human-readable summary of a .nflow file into meta["description"]. |
|
Package external provides three actions for calling code that lives outside the Flow process: exec (shell), http.request (HTTP client), and wasm (Wazero WASI modules).
|
Package external provides three actions for calling code that lives outside the Flow process: exec (shell), http.request (HTTP client), and wasm (Wazero WASI modules). |
|
Package fs ships the file-system stream source and operators: fs.walk as a source; fs.filter, fs.read, fs.sort, fs.write, and the terminal sinks out.stdout and out.file as stream operators.
|
Package fs ships the file-system stream source and operators: fs.walk as a source; fs.filter, fs.read, fs.sort, fs.write, and the terminal sinks out.stdout and out.file as stream operators. |
|
Package hook provides the `@hook:name` directive, which attaches every named hook from the kernel registry to the compiled pipeline, and the hook.probe action that reads HookProbeKey from the context to prove a hook fired.
|
Package hook provides the `@hook:name` directive, which attaches every named hook from the kernel registry to the compiled pipeline, and the hook.probe action that reads HookProbeKey from the context to prove a hook fired. |
|
Package include provides the `@include "file.nflow"` directive.
|
Package include provides the `@include "file.nflow"` directive. |
|
Package loop provides the `loop(body) until(cond)` keyword.
|
Package loop provides the `loop(body) until(cond)` keyword. |
|
Package macros extends the compiler with a @macro engine.
|
Package macros extends the compiler with a @macro engine. |
|
Package modifiers_auth ships the identity guards :auth, :role=, :perm=, and :feature=.
|
Package modifiers_auth ships the identity guards :auth, :role=, :perm=, and :feature=. |
|
Package modifiers_core ships the execution modifiers :timeout=, :retry=, :concurrency=, :cache=, :coalesce, :dedup, :idempotent, and :rate_limit=.
|
Package modifiers_core ships the execution modifiers :timeout=, :retry=, :concurrency=, :cache=, :coalesce, :dedup, :idempotent, and :rate_limit=. |
|
Package modifiers_meta ships the metadata modifiers :name=, :desc=, :description=, :status=, :tag=, :scope=, and the flags :read_only, :audit, :debug, :deprecated, :strict, :lenient.
|
Package modifiers_meta ships the metadata modifiers :name=, :desc=, :description=, :status=, :tag=, :scope=, and the flags :read_only, :audit, :debug, :deprecated, :strict, :lenient. |
|
Package nodes_bench provides bench.run (measure latency distribution of an action), bench.save (write results to a file), and bench.compare (diff against a stored baseline).
|
Package nodes_bench provides bench.run (measure latency distribution of an action), bench.save (write results to a file), and bench.compare (diff against a stored baseline). |
|
Package nodes_dispatch provides the `dispatch.run` action, which tries explicitly listed actions in order and returns the first successful result.
|
Package nodes_dispatch provides the `dispatch.run` action, which tries explicitly listed actions in order and returns the first successful result. |
|
Package nodes_distribute provides distribute.map (bounded-concurrency fan-out over a slice) and distribute.reduce (fold the map output into a single value).
|
Package nodes_distribute provides distribute.map (bounded-concurrency fan-out over a slice) and distribute.reduce (fold the map output into a single value). |
|
Package nodes_log provides log.info, log.warn, and log.error as pass-through nodes.
|
Package nodes_log provides log.info, log.warn, and log.error as pass-through nodes. |
|
Package nodes_supervisor provides the supervisor action: it compiles and runs a set of named child pipelines concurrently, isolating each child's panic, error, and timeout.
|
Package nodes_supervisor provides the supervisor action: it compiles and runs a set of named child pipelines concurrently, isolating each child's panic, error, and timeout. |
|
Package on provides the `@on event "protocol:target"` directive, which records an EventTrigger into meta["on_event"].
|
Package on provides the `@on event "protocol:target"` directive, which records an EventTrigger into meta["on_event"]. |
|
Package on_error provides the `@on_error { when ...
|
Package on_error provides the `@on_error { when ... |
|
Package pipeline provides the `@pipeline NAME ...
|
Package pipeline provides the `@pipeline NAME ... |
|
Package pool provides the `@pool NAME [member1, member2] { strategy: "round_robin" }` directive.
|
Package pool provides the `@pool NAME [member1, member2] { strategy: "round_robin" }` directive. |
|
Package progress ships a TTY progress reporter and two actions that publish progress events through kernel/xctx.
|
Package progress ships a TTY progress reporter and two actions that publish progress events through kernel/xctx. |
|
Package projection adds the `{ ...
|
Package projection adds the `{ ... |
|
Package render provides the render.markdown stream operator, which reformats FileContent into a single Markdown document.
|
Package render provides the render.markdown stream operator, which reformats FileContent into a single Markdown document. |
|
Package retry adds retry resilience to individual Flow atoms through the AtomAdvise contract.
|
Package retry adds retry resilience to individual Flow atoms through the AtomAdvise contract. |
|
Package runtime ships the primitive actions every .nflow pipeline starts from: runtime.const, runtime.noop, runtime.debug, runtime.fail, runtime.pick, runtime.wrap, runtime.with, runtime.env, runtime.uuid, runtime.call, runtime.dispatch_by_prefix, json.clean, runtime.sleep.
|
Package runtime ships the primitive actions every .nflow pipeline starts from: runtime.const, runtime.noop, runtime.debug, runtime.fail, runtime.pick, runtime.wrap, runtime.with, runtime.env, runtime.uuid, runtime.call, runtime.dispatch_by_prefix, json.clean, runtime.sleep. |
|
Package schema provides the `@schema NAME { Field Type `json:"..." validate:"..."` ...
|
Package schema provides the `@schema NAME { Field Type `json:"..." validate:"..."` ... |
|
Package scope provides the `@scope :mods { ...
|
Package scope provides the `@scope :mods { ... |
|
Package selftestkit ships the coverage fixtures the self-test suite references as `cov.*`.
|
Package selftestkit ships the coverage fixtures the self-test suite references as `cov.*`. |
|
Package syntax ships the four binary operators every .nflow file relies on: ->, |, &, ||.
|
Package syntax ships the four binary operators every .nflow file relies on: ->, |, &, ||. |
|
Package template provides a reusable Go text-template renderer and exposes it to Flow as the template.render action.
|
Package template provides a reusable Go text-template renderer and exposes it to Flow as the template.render action. |
Click to show internal directories.
Click to hide internal directories.