xnotify

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const NullChar = "\000"

Variables

View Source
var Verbose = false

Functions

This section is empty.

Types

type Event

type Event struct {
	Operation string `json:"operation"`
	Path      string `json:"path"`
	Time      int64  `json:"time"`
}

Event for each file change

type Program

type Program struct {
	ClientAddress string
	BatchMS       int
	Base          string
	DefaultBase   string

	// used for print runner
	Terminator string // used to terminate each batch

	// used for task runner
	Trigger bool //  whether to trigger tasks immediately on startup
	// contains filtered or unexported fields
}

func (*Program) Action

func (prog *Program) Action(c *cli.Context) (err error)

Jump to

Keyboard shortcuts

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