Versions in this module Expand all Collapse all v1 v1.7.1 Aug 15, 2026 Changes in this version + type Queue struct + Strategy Strategy + Timeout time.Duration + func New(strategyName string, timeout int) (*Queue, error) + func (q *Queue) Len() int + func (q *Queue) Pop() chan interface{} + func (q *Queue) PopWithContext(ctx context.Context) chan interface{} + func (q *Queue) Push(x interface{}, priority int) + type Strategy int + const BreadthFirst + const DepthFirst + func (s Strategy) String() string