github.com/adrianbrad/queue

queue

Package queue provides multiple thread-safe generic queue implementations.

89

Decision Signals

Health score 89/100, confidence 100/100.

Excellent
Maintenance 95
Adoption 78
Security 92
Maturity 88
Developer DX 97
Confidence 100

Install

go get github.com/adrianbrad/queue

Package Data

updated Jun 11, 2026
Latest versionv1.7.0
Imported by11 packages
Stars356
Forks15
Last activity2 days ago
Latest releasev1.7.0 (1 months ago)
LicenseMIT
Known vuln records0

API Surface

78 symbols
SymbolKindSynopsis
Blocking Type type Blocking struct{}
Blocking.Clear Method func (bq *Blocking[T]) Clear() []T
Blocking.Contains Method func (bq *Blocking[T]) Contains(elem T) bool
Blocking.Get Method func (bq *Blocking[T]) Get() (v T, _ error)
Blocking.GetWait Method func (bq *Blocking[T]) GetWait() (v T)
Blocking.IsEmpty Method func (bq *Blocking[T]) IsEmpty() bool
Blocking.Iterator Method func (bq *Blocking[T]) Iterator() <-chan T
Blocking.MarshalJSON Method func (bq *Blocking[T]) MarshalJSON() ([]byte, error)
Blocking.Offer Method func (bq *Blocking[T]) Offer(elem T) error
Blocking.OfferWait Method func (bq *Blocking[T]) OfferWait(elem T)
Blocking.Peek Method func (bq *Blocking[T]) Peek() (v T, _ error)
Blocking.PeekWait Method func (bq *Blocking[T]) PeekWait() T

Similar Packages

Go Queue Libraries

#1 pond

Minimalistic and High-performance goroutine worker pool written in Go.

Go Queue Libraries 2.2K stars 179 imported-by 100% confidence
95

#2 Asynq

Package asynq provides a framework for Redis based distrubted task queue.

Go Queue Libraries 13.4K stars 2.3K imported-by 100% confidence
94

#3 gocelery

Package gocelery is Celery Distributed Task Queue in Go Celery distributed tasks are used heavily in many python web applications and this library allows you to implement celery workers in Go as well as being able to submit celery tasks in Go.

Go Queue Libraries 2.5K stars 97 imported-by 95% confidence
71

#4 deheap

Package deheap provides a doubly-ended heap (min-max heap).

Go Queue Libraries 0 stars 15 imported-by 80% confidence
65

#5 worker

Package worker accepts Jobs and places them in a queue to be executed N at a time.

Go Queue Libraries 14 stars 19 imported-by 95% confidence
56