watch

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

func New

func New(opts Options, check func()) *Monitor

func (*Monitor) Flush

func (m *Monitor) Flush()

func (*Monitor) Notify

func (m *Monitor) Notify()

func (*Monitor) Run

func (m *Monitor) Run(ctx context.Context)

type Options

type Options struct {
	MinInterval time.Duration

	Fallback time.Duration

	Active func() bool
}

Jump to

Keyboard shortcuts

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