watchers

package
v0.0.0-...-f495dfb Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartWatcher

func StartWatcher(watcher Watcher, ctx context.Context, wg *sync.WaitGroup)

Types

type EventWatcher

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

type SysCallWatcher

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

type TimerWatcher

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

type Watcher

type Watcher interface {
	// contains filtered or unexported methods
}

func CreateEventWatcher

func CreateEventWatcher(hotFolderPath string, workChan chan string, logger log.Logger) Watcher

func CreateSysCallWatcher

func CreateSysCallWatcher(hotFolderPath string, workChan chan string, logger log.Logger) Watcher

func CreateTimerWatcher

func CreateTimerWatcher(hotFolderPath string, workChan chan string, tickerDuration time.Duration, logger log.Logger) Watcher

Jump to

Keyboard shortcuts

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