watcher

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 0 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 struct{}

Watcher is a no-op on non-Windows platforms; it exists so the service package compiles for development and CI on Linux/macOS.

func New

func New() (*Watcher, error)

New returns an inert Watcher.

func (*Watcher) Run

func (w *Watcher) Run(onChange func()) error

Run returns immediately; the periodic backstop handles re-apply elsewhere.

func (*Watcher) Stop

func (w *Watcher) Stop()

Stop is a no-op.

Jump to

Keyboard shortcuts

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