watcher

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher interface {
	Watch(ctx context.Context) error
}

Watcher watches the vault tasks directory and publishes on matching task changes.

func NewWatcher

func NewWatcher(cfg config.Config, publishers []publish.Publisher) Watcher

NewWatcher returns a Watcher that watches all configured vaults and fans out matching task events to all configured watcher entries.

Jump to

Keyboard shortcuts

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