Go to file
sneak ae2ef2ae0c Implement routing table snapshotter with automatic loading on startup
- Create snapshotter package with periodic (10 min) and on-demand snapshots
- Add JSON serialization with gzip compression and atomic file writes
- Update routing table to track AddedAt time for each route
- Load snapshots on startup, filtering out stale routes (>30 minutes old)
- Add ROUTEWATCH_DISABLE_SNAPSHOTTER env var for tests
- Use OS-appropriate state directories (macOS: ~/Library/Application Support, Linux: /var/lib or XDG_STATE_HOME)
2025-07-28 00:03:19 +02:00
cmd Remove BGP keepalive logging and add peer tracking 2025-07-27 21:54:58 +02:00
docs Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
internal Implement routing table snapshotter with automatic loading on startup 2025-07-28 00:03:19 +02:00
pkg/asinfo Remove BGP keepalive logging and add peer tracking 2025-07-27 21:54:58 +02:00
.gitignore Extract database schema to separate SQL file 2025-07-27 22:38:51 +02:00
.golangci.yml Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
CLAUDE.md Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
go.mod Switch back to CGO SQLite driver 2025-07-27 22:57:53 +02:00
go.sum Switch back to CGO SQLite driver 2025-07-27 22:57:53 +02:00
Makefile Replace live_routes database table with in-memory routing table 2025-07-27 23:16:19 +02:00