routewatch/internal/database
sneak d15a5e91b9 Inject Config as dependency for database, routing table, and snapshotter
- Remove old database Config struct and related functions
- Update database.New() to accept config.Config parameter
- Update routingtable.New() to accept config.Config parameter
- Update snapshotter.New() to accept config.Config parameter
- Simplify fx module providers in app.go
- Fix truthiness check for environment variables
- Handle empty state directory gracefully in routing table and snapshotter
- Update all tests to use empty state directory for testing
2025-07-28 00:55:09 +02:00
..
database.go Inject Config as dependency for database, routing table, and snapshotter 2025-07-28 00:55:09 +02:00
interface.go Add database file size and reorganize status page 2025-07-28 00:27:54 +02:00
models.go Add ASN info lookup and periodic routing table statistics 2025-07-27 23:25:23 +02:00
schema.sql Add ASN info lookup and periodic routing table statistics 2025-07-27 23:25:23 +02:00
slowquery.go Replace live_routes database table with in-memory routing table 2025-07-27 23:16:19 +02:00
utils.go Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00