watcher

package module
v0.0.0-...-7e4749f Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

README

Watcher

Playing around with fsnotify and the like for a basic file system watcher with associated actions.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Monitor []Monitor `json:"monitor"`
	Verbose bool      `json:"verbose,omitempty"`
}

type Monitor

type Monitor struct {
	Directory string   `json:"directory"`
	Exclude   []string `json:"exclude,omitempty"`
	Action    []string `json:"action"`
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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