routewatch/internal/server
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
..
handlers.go Fix prefix distribution bug and add prefix length pages 2025-07-28 18:42:38 +02:00
middleware.go Add SQL query logging and performance improvements 2025-07-27 22:34:48 +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