package
0.0.1
Repository: https://github.com/libonomy/libonomy-p2p.git
Documentation: pkg.go.dev

# Functions

New returns a new priority queue where each priority has a buffer of prioQueueLimit.

# Constants

High indicates the highest priority.
Low indicates the lowest priority.
Mid indicates the medium priority.

# Variables

ErrQueueClosed indicates an attempt to read from a closed priority queue instance.
ErrUnknownPriority indicates an incorrect attempt to make a write with an unknown priority.

# Structs

Queue is the priority queue.

# Type aliases

Priority is the type that indicates the priority of different queues.