Versions in this module Expand all Collapse all v1 v1.3.0 Mar 18, 2026 Changes in this version + type FileWatcher struct + func NewFileWatcher(path string) (*FileWatcher, error) + func (fw *FileWatcher) Content() <-chan string + func (fw *FileWatcher) Start(ctx context.Context) error + type NoopWatcher struct + func NewNoopWatcher() *NoopWatcher + func (nw *NoopWatcher) Content() <-chan string + func (nw *NoopWatcher) Start(ctx context.Context) error + type PollWatcher struct + func NewPollWatcher(path string, interval time.Duration) *PollWatcher + func (pw *PollWatcher) Content() <-chan string + func (pw *PollWatcher) Start(ctx context.Context) error + type Watcher interface + Content func() <-chan string + Start func(ctx context.Context) error