37b262eefb6bb413e63a6abe876082dfdce672bb
- monitor 包导入 taskq,实现 Plugin 接口 - monitor 作为插件注册到 taskq.Configure() - 修复优雅关闭顺序:先关闭 SSE 连接,再关闭 HTTP 服务器,最后停止 taskq - 移除 main.go 中手动调用 cancel() 导致的阻塞问题
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%