Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 272 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 272 Bytes

golang-worker-example

Example buffered channel + worker example

Building & Running

Build the project:

go build -o queued .

To start the worker, run:

./queued

To issue commands, run:

curl -v -X POST "localhost:8000/work?delay=1s&name=foo"