Versions in this module Expand all Collapse all v1 v1.1.0 Oct 13, 2025 v1.0.1 Sep 20, 2025 v1.0.0 Sep 17, 2025 v0 v0.0.1 Jun 26, 2025 Changes in this version + func ProgressLogger(outLog *log.Logger, logMessages bool, errf ProgressErrorFunc, ...) + type Job interface + IsDone func() <-chan bool + NewWorker func(id any) + Supervisor func(maxWorkers int, workChan chan Work) (progressChan chan Progress, doneFunc func()) + func NewJob(workerFunc WorkerFunc) Job + type Progress struct + Data any + Type ProgressType + func PErrorf(format string, a ...any) Progress + func PEstimate(estimate int64) Progress + func PMessagef(format string, a ...any) Progress + func PUpdate(count int64) Progress + func (p *Progress) Error() error + func (p *Progress) String() string + type ProgressErrorFunc func(error) + type ProgressType int + const ProgressError + const ProgressEstimate + const ProgressMessage + const ProgressOther + const ProgressUpdate + func (p ProgressType) String() string + type Work struct + func NewWork(config map[string]any) Work + func (w *Work) Get(key string) any + func (w *Work) GetBool(key string) bool + func (w *Work) GetInt(key string) int + func (w *Work) GetString(key string) string + type WorkerFunc func(id any, work Work, progressChan chan<- Progress)