mirror of
https://github.com/hashicorp/vault.git
synced 2026-03-02 21:41:37 -05:00
10 lines
370 B
Markdown
10 lines
370 B
Markdown
|
|
Vault SDK - Queue
|
||
|
|
=================
|
||
|
|
|
||
|
|
The `queue` package provides Vault plugins with a Priority Queue. It can be used
|
||
|
|
as an in-memory list of `queue.Item` sorted by their `priority`, and offers
|
||
|
|
methods to find or remove items by their key. Internally it
|
||
|
|
uses `container/heap`; see [Example Priority
|
||
|
|
Queue](https://golang.org/pkg/container/heap/#example__priorityQueue)
|
||
|
|
|