WorkerPool contains a pool of workers.
| 22 | |
| 23 | // WorkerPool contains a pool of workers. |
| 24 | type WorkerPool struct { |
| 25 | limit uint |
| 26 | workers chan *Worker |
| 27 | name string |
| 28 | } |
| 29 | |
| 30 | // Worker identified by ID. |
| 31 | type Worker struct { |
nothing calls this directly
no outgoing calls
no test coverage detected