notify

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: CC0-1.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObserverNotify

type ObserverNotify struct {
	Filename     string
	Directory    string
	Watcher      *fsnotify.Watcher
	CurrentEvent *fsnotify.Event
	// contains filtered or unexported fields
}

func NewNotify

func NewNotify(directory string, filename string) *ObserverNotify

func (*ObserverNotify) FxAll

func (o *ObserverNotify) FxAll(fx func(observer *ObserverNotify)) *ObserverNotify

func (*ObserverNotify) FxChmod

func (o *ObserverNotify) FxChmod(fxChmod func(observer *ObserverNotify)) *ObserverNotify

func (*ObserverNotify) FxCreate

func (o *ObserverNotify) FxCreate(fxCreate func(observer *ObserverNotify)) *ObserverNotify

func (*ObserverNotify) FxRemove

func (o *ObserverNotify) FxRemove(fxRemove func(observer *ObserverNotify)) *ObserverNotify

func (*ObserverNotify) FxRename

func (o *ObserverNotify) FxRename(fxRename func(observer *ObserverNotify)) *ObserverNotify

func (*ObserverNotify) FxWrite

func (o *ObserverNotify) FxWrite(fxWrite func(observer *ObserverNotify)) *ObserverNotify

func (*ObserverNotify) Run

func (o *ObserverNotify) Run()

Jump to

Keyboard shortcuts

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