package
0.0.0-20210730035956-6ee08864794d
Repository: https://github.com/fletaio/fleta_v1.git
Documentation: pkg.go.dev
# Functions
NewExpireQueue returns ExpireQueue.
NewLinkedQueue make a LinkedQueue.
NewQueue returns a Queue.
NewSortedQueue returns a SortedQueue.
# Structs
ExpireQueue provides sequential expirations by groups.
LinkedQueue is designed to allow users to remove the item by the key.
Queue provides a basic queue ability with the peek method.
SortedQueue sorts items by the priority.
# Interfaces
ItemExpireHandler handles a group expire event.