open-vault/sdk/queue
Hamid Ghaf 27bb03bbc0
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00
..
README.md Add Priority Queue library to sdk (#6664) 2019-05-16 11:15:57 -05:00
priority_queue.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
priority_queue_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00

README.md

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