Documentation ¶ Index ¶ func WorkersPool(countWorkers int, fileNameC <-chan string, w HashWorker) <-chan FileHash type FileHash type HashWorker func NewWorker(ctx context.Context, algName string, log *logrus.Logger) HashWorker Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WorkersPool ¶ func WorkersPool(countWorkers int, fileNameC <-chan string, w HashWorker) <-chan FileHash Types ¶ type FileHash ¶ type FileHash struct { Path string Hash string } type HashWorker ¶ type HashWorker func(ind int, fileNameC <-chan string, hashC chan<- FileHash) func NewWorker ¶ func NewWorker(ctx context.Context, algName string, log *logrus.Logger) HashWorker Source Files ¶ View all Source files workers.go Click to show internal directories. Click to hide internal directories.