compose/pkg/watch/notify.go

13 lines
166 B
Go
Raw Normal View History

2018-08-16 20:53:47 +02:00
package watch
type FileEvent struct {
Path string
}
2018-08-16 20:53:47 +02:00
type Notify interface {
Close() error
Add(name string) error
Events() chan FileEvent
2018-08-16 20:53:47 +02:00
Errors() chan error
}