Documentation
¶
Index ¶
Constants ¶
View Source
const ( NoType = iota TextType ImageType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
Context context.Context
TextChan <-chan []byte
ImageChan <-chan []byte
DetectChan chan bool
CurrentType WatcherType
IgnoreChange bool
}
func NewWatcher ¶
func NewWatcher() *Watcher
type WatcherType ¶
type WatcherType int
Click to show internal directories.
Click to hide internal directories.