interfaces

package
v1.0.0-RC2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2018 License: MIT Imports: 1 Imported by: 6

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