watcher

package
v0.0.0-...-98ed532 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Closer

type Closer func()

type OnEvent

type OnEvent func(filepath string, log logging.Logger) error

type Watcher

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

func New

func New() (*Watcher, error)

func (*Watcher) Add

func (w *Watcher) Add(filepath string) error

func (*Watcher) Close

func (w *Watcher) Close()

func (*Watcher) OnEvent

func (w *Watcher) OnEvent(cb OnEvent) error

Jump to

Keyboard shortcuts

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