factory

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigLoader added in v0.5.0

func CreateConfigLoader(filePath string) config.Loader

CreateConfigLoader constructs a config.Loader for the given file path. Pure composition: no I/O, no context creation.

func CreateLogNotifier added in v0.17.0

func CreateLogNotifier(_ config.Config) notify.Notifier

CreateLogNotifier constructs a notify.Notifier that logs instead of sending HTTP requests. TODO(spec-003): per-watcher notifier selection will be added in the fanout prompt.

func CreateNotifier added in v0.5.0

func CreateNotifier(_ config.Config) notify.Notifier

CreateNotifier constructs a notify.Notifier from a validated config. TODO(spec-003): per-watcher notifier selection will be added in the fanout prompt.

func CreateOpenClawNotifier added in v0.11.0

func CreateOpenClawNotifier(_ config.Config) notify.Notifier

CreateOpenClawNotifier constructs a notify.Notifier that sends OpenClaw-formatted payloads. TODO(spec-003): per-watcher notifier selection will be added in the fanout prompt.

func CreateWatcher added in v0.5.0

func CreateWatcher(cfg config.Config, notifier notify.Notifier) watcher.Watcher

CreateWatcher constructs a watcher.Watcher that observes the vault and forwards matching task events to the notifier. Pure composition: no filesystem access at construction time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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