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 May 30, 2026
Latest versionv1.7.0
Imported by11 packages
Stars354
Forks15
Last activity4 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 Asynq

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

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

#2 hatchet

🪓 An orchestration engine for background tasks, AI agents, and durable workflows

Go Queue Libraries 7.2K stars 0 imported-by 100% confidence
90

#3 machinery

Machinery is an asynchronous task queue/job queue based on distributed message passing.

Go Queue Libraries 8.0K stars 0 imported-by 100% confidence
86

#4 deheap

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

Go Queue Libraries 16 stars 15 imported-by 100% confidence
81

#5 bokchoy

Simple job queues for Go backed by Redis

Go Queue Libraries 278 stars 29 imported-by 60% confidence
79