Categorygithub.com/lightningnetwork/lnd/queue
modulepackage
1.1.1
Repository: https://github.com/lightningnetwork/lnd.git
Documentation: pkg.go.dev

# Functions

NewCircularBuffer returns a new circular buffer with the size provided.
NewConcurrentQueue constructs a ConcurrentQueue.
NewGCQueue creates a new garbage collecting queue, which dynamically grows and contracts based on load.

# Structs

CircularBuffer is a buffer which retains a set of values in memory, and overwrites the oldest item in the buffer when a new item needs to be written.
ConcurrentQueue is a concurrent-safe FIFO queue with unbounded capacity.
GCQueue is garbage collecting queue, which dynamically grows and contracts based on load.
PriorityQueue wraps a standard heap into a self contained class.

# Interfaces

PriorityQueueItem is an interface that represents items in a PriorityQueue.