mirror of
https://github.com/nxshock/gwp.git
synced 2025-07-02 00:23:39 +05:00
Add ErrorCount() getter
This commit is contained in:
parent
7c3de6635f
commit
c25093e8e2
1 changed files with 5 additions and 0 deletions
5
gwp.go
5
gwp.go
|
@ -115,3 +115,8 @@ func (workerPool *WorkerPool) CloseAndWait() {
|
||||||
|
|
||||||
workerPool.printProgress()
|
workerPool.printProgress()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ErrorCount returns total error count
|
||||||
|
func (workerPool *WorkerPool) ErrorCount() int {
|
||||||
|
return workerPool.errorCount
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue