mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
- Updated the metrics chart rendering logic to reverse the data order for a more intuitive time progression from left to right. - Introduced chart options to ensure the x-axis is not reversed, improving the clarity of time-based data visualization. - Modified the updateChart function to accept additional options, allowing for more flexible chart configurations. - Added a safeguard in GetRecentMetrics to return a default empty record instead of null when no metrics are available, enhancing data reliability. These changes improve the user experience by providing clearer visualizations and ensuring consistent data handling in the metrics dashboard.
Proxy-Go
A 'simple' reverse proxy server written in Go.
使用方法: https://q58.org/t/topic/165?u=wood
说明
- 支持gzip和brotli压缩, 在
config.json
中配置 - 不同路径代理不同站点
- 回源Host修改
- 大文件使用流式传输, 小文件直接提供
- 可以按照文件后缀名代理不同站点, 方便图片处理等
- 适配Cloudflare Images的图片自适应功能, 透传
Accept
头, 支持format=auto
- 支持metrics监控, 在
/metrics/ui
查看, 具体可以看帖子里写的用法
Languages
Go
51%
TypeScript
47.1%
CSS
1.4%
JavaScript
0.4%
Dockerfile
0.1%