Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plain = nopEnc
Plain file encoding not transforming any read bytes.
Functions ¶
This section is empty.
Types ¶
type Harvester ¶
type Harvester struct { Path string /* the file path to harvest */ ProspectorConfig config.ProspectorConfig Config *config.HarvesterConfig Offset int64 FinishChan chan int64 SpoolerChan chan *input.FileEvent // contains filtered or unexported fields }
func NewHarvester ¶
func NewHarvester( prospectorCfg config.ProspectorConfig, cfg *config.HarvesterConfig, path string, signal chan int64, spooler chan *input.FileEvent, ) (*Harvester, error)
Click to show internal directories.
Click to hide internal directories.