6 Commits

Author SHA1 Message Date
e70ca4cf52 feat(docker, config, api): update docker-compose for logging, enhance app structure, and add system metrics display
- Updated docker-compose.yml to mount logs directory.
- Changed BASE_URL environment variable to point to the new API endpoint.
- Refactored main.go to implement a structured App type, improving initialization and graceful shutdown.
- Enhanced config management with JSON loading and environment variable support.
- Added monitoring capabilities in api_handler for logging request metrics.
- Introduced new metrics display in index.html with corresponding CSS styles for better visualization.
2024-11-30 23:23:58 +08:00
973fe5c8de style(api_handler): adjust log format for better readability 2024-11-03 08:25:31 +08:00
402c6cf82d refactor(api_handler): remove unused log statement 2024-11-03 08:15:05 +08:00
1b2106697f refactor(api_handler): improve logging format for API request handling 2024-11-03 08:14:50 +08:00
887e8a7ca8 refactor(api_handler): improve source info extraction and logging 2024-10-31 01:08:30 +08:00
236ef74f85 feat: refactor code structure and move utility functions to separate package 2024-10-27 05:04:33 +08:00