I hereby claim:
- I am jeffw-wherethebitsroam on github.
- I am jeffwilliams (https://keybase.io/jeffwilliams) on keybase.
- I have a public key ASAbRUcyxXQDGXuwG7X-uVdXhzjDP68r6y-nW6qFQxMlTAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // Worker represents the worker that executes the job | |
| type Worker struct { | |
| JobChannel chan Job | |
| quit chan bool | |
| } | |
| func NewWorker(jobChannel chan Job) Worker { | |
| return Worker{ | |
| JobChannel: jobChannel, | |
| quit: make(chan bool)} |