watcher

package
v0.0.0-...-3c772d0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExist

func IsExist(fp string) bool

Types

type Watcher

type Watcher struct {
	Pid int
	Exe string
	Dur time.Duration
	Dev bool
}

func NewWatcher

func NewWatcher(exe string, dur time.Duration) *Watcher

func (*Watcher) Start

func (w *Watcher) Start(f func())

Jump to

Keyboard shortcuts

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