7 Commits

Author SHA1 Message Date
f2456e116b 删除不再使用的配置文件和脚本,更新Dockerfile以支持前后端构建,重构配置加载逻辑,添加OAuth2.0支持,优化API处理和路由设置。 2025-06-14 17:40:31 +08:00
e02a5d7a13 对 CSV 内容格式验证的增强:
- 在`loadCSVContent` 函数中添加了严格的 URL 格式验证
- 增加了对空文件的检查
- 添加了对非法字符的检查
- 优化了错误信息的处理和返回
- 保留了对注释行和空行的过滤
- 维持了 URL 去重的功能
2025-01-27 23:46:08 +08:00
80d18f2b88 feat(config, handlers, middleware): enhance configuration and API request handling
- Added performance settings to the configuration, including max concurrent requests and caching options.
- Updated API request handling to use context for timeouts and improved logging with Unix timestamps.
- Introduced rate limiting middleware to manage request load effectively.
- Enhanced metrics logging to include atomic counters for request counts and improved data structure for performance metrics.
- Implemented caching for CSV content to optimize data retrieval and reduce load times.
2024-12-01 00:14:21 +08:00
a4d6890a78 refactor(public, services): improve HTML structure and optimize CSV service logging 2024-11-16 05:45:24 +08:00
61e84d87b8 chore(workflow,ci): update docker build process and add multi-arch support
Update the GitHub Actions workflow to include Go setup, multi-arch builds, and push multi-arch Docker images. Also, refactor the CSV service to improve logging and caching mechanism.
2024-11-16 05:34:37 +08:00
981759be39 feat(api, services, handlers): add URL statistics endpoint and service initialization 2024-11-16 05:21:05 +08:00
236ef74f85 feat: refactor code structure and move utility functions to separate package 2024-10-27 05:04:33 +08:00