Documentation ¶
Overview ¶
package mem provides an in-memory implementation of a queue data structure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue[T types.Marshallable] struct { // contains filtered or unexported fields }
Queue is a thread-safe FIFO queue implementation.
func NewQueue ¶
func NewQueue[T types.Marshallable]() *Queue[T]
NewQueue creates a new Queue instance.
Click to show internal directories.
Click to hide internal directories.