routewatch/internal/database
sneak ba13c76c53 Fix prefix distribution bug and add prefix length pages
- Fix GetPrefixDistribution to count unique prefixes using COUNT(DISTINCT prefix) instead of COUNT(*)
- Add /prefixlength/<length> route showing random sample of 500 prefixes
- Make prefix counts on status page clickable links to prefix length pages
- Add GetRandomPrefixesByLength database method
- Create prefix_length.html template with sortable table
- Show prefix age and origin AS with descriptions
2025-07-28 18:42:38 +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 prefix distribution bug and add prefix length pages 2025-07-28 18:42:38 +02:00
interface.go Fix prefix distribution bug and add prefix length pages 2025-07-28 18:42:38 +02:00
models.go Optimize database batch operations with prepared statements 2025-07-28 17:21:40 +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