interfaces

package
v2.0.0-...-54ff1d7 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FsnotifyWatcher

type FsnotifyWatcher struct {
	Close  func() error
	Add    func(name string) error
	Remove func(name string) error

	Events chan fsnotify.Event
	Errors chan error
}

This painful composition of things from fsnotify.Watcher enables mocks for testing of code that uses fsnotify.

Jump to

Keyboard shortcuts

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