package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 25, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Serialize serializes a Queue into bytes using cbor
Queue represents a simple thread safe FIFO queue
Deserialize deserializes cbor data into a Queue
Pop pops the first element of the queue
PopN pops the first n elements of the queue
func (queue *Queue[T]) Push(values ...T)
Push pushes entries to the back of the queue
Size returns the amount of queued entries
Source Files
¶
Click to show internal directories.
Click to hide internal directories.