Versions in this module Expand all Collapse all v1 v1.1.0 Jan 21, 2020 Changes in this version + type CatFile struct + func NewCatFile(filePath string, globID string, serverMessages chan<- string, ...) CatFile + func (f CatFile) FilePath() string + func (f CatFile) Retry() bool + func (f CatFile) Start(lines chan<- LineRead, regex string) error + func (f CatFile) Stop() + type FileReader interface + FilePath func() string + Retry func() bool + Start func(lines chan<- LineRead, regex string) error + Stop func() + type LineRead struct + Content []byte + Count uint64 + GlobID *string + TransmittedPerc int + func (l LineRead) String() string + type TailFile struct + func NewTailFile(filePath string, globID string, serverMessages chan<- string, ...) TailFile + func (f TailFile) FilePath() string + func (f TailFile) Retry() bool + func (f TailFile) Start(lines chan<- LineRead, regex string) error + func (f TailFile) Stop()