watchers

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifyComunicato

func NotifyComunicato(filename string, tipo string)

Types

type ConfigWatcher

type ConfigWatcher struct {
	Path    string
	OnEvent func()
}

func (*ConfigWatcher) Watch

func (cfgw *ConfigWatcher) Watch()

type FileWatcher

type FileWatcher struct {
	Path    string
	OnEvent func()
	Notify  bool
}

func (*FileWatcher) Watch

func (fw *FileWatcher) Watch()

type Watcher

type Watcher interface {
	Watch()
}

type WatcherType

type WatcherType uint64

type WebContentWatcher

type WebContentWatcher struct {
	Path    string
	OnEvent func()
}

func (*WebContentWatcher) Watch

func (cw *WebContentWatcher) Watch()

Jump to

Keyboard shortcuts

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