Documentation ¶ Index ¶ type Result type Watcher func NewFileWatcher(files config.Watchers) Watcher Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Result ¶ type Result struct { Name string `json:"name"` // TODO: right now tags should be sent every time will fix it later for performance improvements Tags []map[string]interface{} `json:"tags"` Log string `json:"log"` Timestamp time.Time `json:"time"` } type Watcher ¶ type Watcher interface { Watch() Result() chan Result Close() String() string } func NewFileWatcher ¶ func NewFileWatcher(files config.Watchers) Watcher Source Files ¶ View all Source files filewatcher.go watcher.go Click to show internal directories. Click to hide internal directories.