Remove routing table and snapshotter packages, update status page

- Remove routingtable package entirely as database handles all routing data
- Remove snapshotter package as database contains all information
- Rename 'Connection Status' box to 'RouteWatch' and add Go version, goroutines, memory usage
- Move IPv4/IPv6 prefix counts from Database Statistics to Routing Table box
- Add Peers count to Database Statistics box
- Add go-humanize dependency for memory formatting
- Update server to include new metrics in API responses
This commit is contained in:
2025-07-28 03:11:36 +02:00
parent d929f24f80
commit ae89468a1b
10 changed files with 66 additions and 1100 deletions

1
go.mod
View File

@@ -11,6 +11,7 @@ require (
)
require (
github.com/dustin/go-humanize v1.0.1 // indirect
go.uber.org/dig v1.19.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
go.uber.org/zap v1.26.0 // indirect