mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
- Create PathMetricsJSON struct for clean JSON serialization - Add ToJSON method to convert PathMetrics to JSON-compatible representation - Update metrics handlers and collectors to use new JSON-friendly type - Simplify type conversion in SafePathMetrics utility function - Improve metrics data transfer and serialization consistency