Categorygithub.com/esote/queue
modulepackage
1.1.0
Repository: https://github.com/esote/queue.git
Documentation: pkg.go.dev

# README

Package queue implements a few types of queues. Notably an asynchronous queue for non-blocking data processing and a SQLite3 queue.

Package httpq is a specialization of queue.AsyncQueue for HTTP requests.

# Packages

No description provided by the author

# Functions

NewAsyncQueue creates an async queue that processes inner queue data through a handler and worker pool.
NewMemoryQueue creates an in-memory queue.
NewSqlite3Queue creates an SQLite3-backed queue with ACID properties.

# Variables

ErrEmpty is returned when dequeuing from an empty queue.

# Interfaces

AsyncQueue processes queue data asynchronously.
Queue contains data.

# Type aliases

Handler operates on data from the async queue.