routewatch/internal/database
sneak 9b649c98c9 Fix AS detail view and add prefix sorting
- Fix GetASDetails to properly handle timestamp from MAX(last_updated)
- Parse timestamp string from SQLite aggregate function result
- Add natural sorting of prefixes by IP address in AS detail view
- Sort IPv4 and IPv6 prefixes separately by network address
- Remove SQL ORDER BY since we're sorting in Go
- This fixes the issue where AS detail pages showed no prefixes
2025-07-28 04:42:10 +02:00
..
database_test.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
database.go Fix AS detail view and add prefix sorting 2025-07-28 04:42:10 +02:00
interface.go Refactor server package: split handlers and routes into separate files 2025-07-28 04:00:12 +02:00
models.go Add route age information to IP lookup API 2025-07-28 03:44:19 +02:00
schema.sql Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
slowquery.go Add custom logger with source location tracking and remove verbose database logs 2025-07-28 01:14:51 +02:00
utils.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00