1f9f1cab53569c9e9913573e60d606c950c57c8c
- 新增 Lit.js 组件化 UI (ui/ 目录) - tasks-chart: 带十字准星和拖拽选择的图表 - queue-table: 队列列表,支持暂停/恢复 - queue-modal: 队列详情弹窗,支持任务重试 - time-range-picker: Prometheus 风格时间选择器 - help-tooltip: 可复用的提示组件 - HTTPHandler 功能 - SSE 实时推送 (stats + queues) - 队列暂停/恢复 API - 任务重试 API - 时间范围查询 API - Inspector 改进 - Prometheus 风格单表存储 - 集成到 Start/Stop 生命周期 - 新增 PauseQueue/UnpauseQueue/RunTask 方法 - 代码重构 - Start 函数拆分为小函数 - 优雅关闭流程优化 - 其他 - 忽略 SQLite 数据库文件 - example 添加延迟/定点任务示例
TaskQ - Task Queue Management System
A Go-based task queue management system for efficient task processing and management.
Features
- Task queue management
- Dashboard interface
- Task inspection and monitoring
- Concurrent task processing
Installation
go mod download
Usage
go run .
Project Structure
taskq.go- Main application entry pointtask.go- Task definition and managementinspect.go- Task inspection utilitiesdashboard.html- Web dashboard interfaceexample/- Example implementations
Development
# Run the application
go run .
# Run tests
go test ./...
# Build
go build -o taskq
License
MIT License
Languages
Go
55.5%
JavaScript
38.2%
CSS
4.6%
HTML
1.3%
Makefile
0.4%