mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
- 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.
23 lines
382 B
Markdown
23 lines
382 B
Markdown
# Random-Api 随机文件API
|
|
|
|
<div class="stats-container">
|
|
<div id="stats-summary"></div>
|
|
<div id="stats-detail"></div>
|
|
</div>
|
|
|
|
<div id="system-metrics"></div>
|
|
|
|
---
|
|
|
|
|
|
## 部署和原理
|
|
|
|
请见我的帖子:[https://q58.org/t/topic/127](https://q58.org/t/topic/127)
|
|
|
|
## 讨论
|
|
|
|
请在帖子下留言,我看到后会回复,谢谢。
|
|
|
|
**永久可用**
|
|
|