Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_NUMBER_OF_WORKERS = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Group *sync.WaitGroup Ignore *regexp.Regexp Options *cli.Options Workers *WorkerQueue }
func NewHandler ¶
type UnitOfWork ¶
type WorkerQueue ¶
type WorkerQueue struct { Closed chan bool Group *sync.WaitGroup Input chan UnitOfWork Output *cli.Output }
func (*WorkerQueue) Close ¶
func (this *WorkerQueue) Close()
func (*WorkerQueue) Start ¶
func (this *WorkerQueue) Start()
Click to show internal directories.
Click to hide internal directories.