Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageReader ¶
MessageReader is used to tail a file path and create log data from the lines.
func (*MessageReader) MessageRead ¶
MessageRead implements the LogSourcer interface
func (*MessageReader) MessageWriteTo ¶
MessageWriteTo implements the LogSourcer interface
type Watcher ¶
type Watcher struct { Path string NameRegexp *regexp.Regexp Recur bool //recur into directories Poll bool // contains filtered or unexported fields }
Watcher watches for files being added and removed from a filesystem
func (*Watcher) ReadTarget ¶
Click to show internal directories.
Click to hide internal directories.