Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Process ¶
func Process(ins []<-chan *ProcessingPayload, destinationDirectory string, deleteDestinationDirectory bool, dataStore *data_store.DataStore)
Types ¶
type Collection ¶
type ImportManifest ¶
type ProcessingContext ¶
type ProcessingContext struct { Label string RateTracker *stats.RateTracker DataStore *data_store.DataStore StatsTracker *stats.StatsTracker ProcessorsTotal int Strategy ProcessingStrategy }
type ProcessingPayload ¶
type ProcessingPayload struct {
Value interface{}
}
type ProcessingStrategy ¶
type ProcessingStrategy string
const ( WaitUntilAllDone ProcessingStrategy = "WaitUntilAllDone" SerialPerInput ProcessingStrategy = "SerialPerInput" )
type ProcessorHandler ¶
type ProcessorHandler func(ctx *ProcessingContext, in <-chan *ProcessingPayload) <-chan *ProcessingPayload
Source Files ¶
Click to show internal directories.
Click to hide internal directories.