Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Worker Queue

A minimal concurrent worker queue in pure Go. Jobs are submitted to a buffered channel and processed in parallel by a pool of worker goroutines, with graceful shutdown via OS signals and context cancellation.

Run

go run .

Press Ctrl+C to shut down gracefully.

Test

go test -v ./...

Structure

File Role
job.go Job definition and processing logic
worker.go Worker goroutine
dispatcher.go Worker pool and job queue management
main.go Entry point and signal handling

About

A minimal concurrent worker queue in pure Go. Jobs are submitted to a buffered channel and processed in parallel by a pool of worker goroutines, with graceful shutdown via OS signals and context cancellation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages