Skip to content

mefellows/golang-worker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Example buffered channel + worker example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages