watcher

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileWatcher

type FileWatcher struct {
	// contains filtered or unexported fields
}

FileWatcher - watch file with settings and update it in application

func NewFileWatcher added in v1.0.6

func NewFileWatcher(fileName string) *FileWatcher

NewFileWatcher - create new file watcher

func (*FileWatcher) Setup

func (watcher *FileWatcher) Setup(cfg *settings.Configuration, creator settings.WatcherSettingsCreator) (err error)

Setup - setup settings for watcher

Jump to

Keyboard shortcuts

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