routewatch/internal
sneak af9ff258b1 Add /ip/<ip> route that redirects to prefix detail page
- Implement handleIPRedirect handler that looks up the prefix containing an IP
- Add /ip/{ip} route to routes.go
- Reuse existing GetASInfoForIP database method which returns prefix info
- Redirect to /prefix/<prefix> page with HTTP 303 See Other status
- Handle invalid IPs (400) and IPs with no route (404)
2025-07-28 04:31:22 +02:00
..
config Remove debug logging for withdrawals without origin ASN 2025-07-28 02:07:33 +02:00
database Refactor server package: split handlers and routes into separate files 2025-07-28 04:00:12 +02:00
logger Format logger source location as file.go:linenum 2025-07-28 01:16:29 +02:00
metrics Add route update metrics tracking to PrefixHandler 2025-07-28 02:55:27 +02:00
ristypes Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
routewatch Refactor server package: split handlers and routes into separate files 2025-07-28 04:00:12 +02:00
server Add /ip/<ip> route that redirects to prefix detail page 2025-07-28 04:31:22 +02:00
streamer Add route update metrics tracking to PrefixHandler 2025-07-28 02:55:27 +02:00
templates Implement AS and prefix detail pages 2025-07-28 04:26:20 +02:00