Help us shape the future of Go! Take the 2026 Go Developer Survey

filewatcher

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileWatcher

type FileWatcher struct {
	Options Options
	// contains filtered or unexported fields
}

func New

func New(options Options) (*FileWatcher, error)

func (*FileWatcher) Close

func (f *FileWatcher) Close()

func (*FileWatcher) Watch

func (f *FileWatcher) Watch() (chan string, error)

type Options

type Options struct {
	Interval time.Duration
	File     string
}

Jump to

Keyboard shortcuts

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