watcher

package
v0.0.0-...-876c23e Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PROCESSLEN = 16
	Change     = 0
	Pid        = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Name string
}

type EventPid

type EventPid struct {
	Pid int
}

type Watcher

type Watcher struct {
	Event    chan Event
	EventPid chan EventPid
	Errors   chan error
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher() *Watcher

func (*Watcher) NewExecutable

func (w *Watcher) NewExecutable(exec string) *Watcher

func (*Watcher) NewExtension

func (w *Watcher) NewExtension(ext string) *Watcher

func (*Watcher) NewPath

func (w *Watcher) NewPath(path string) *Watcher

Jump to

Keyboard shortcuts

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