routewatch/internal/server
sneak c9da20e630 Major schema refactoring: simplify ASN and prefix tracking
- Remove UUID primary keys from ASNs table, use ASN number as primary key
- Update announcements table to reference ASN numbers directly
- Rename asns.number column to asns.asn for consistency
- Add prefix tracking to PrefixHandler to populate prefixes_v4/v6 tables
- Add UpdatePrefixesBatch method for efficient batch updates
- Update all database methods and models to use new schema
- Fix all references in code to use ASN field instead of Number
- Update test mocks to match new interfaces
2025-07-28 22:58:55 +02:00
..
handlers.go Major schema refactoring: simplify ASN and prefix tracking 2025-07-28 22:58:55 +02:00
middleware.go Fix concurrent map write panic in timeout middleware 2025-07-28 21:54:58 +02:00
routes.go Fix prefix distribution bug and add prefix length pages 2025-07-28 18:42:38 +02:00
server.go Refactor server package: split handlers and routes into separate files 2025-07-28 04:00:12 +02:00