Go to file
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
cmd Add custom logger with source location tracking and remove verbose database logs 2025-07-28 01:14:51 +02:00
docs Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
internal Add /ip/<ip> route that redirects to prefix detail page 2025-07-28 04:31:22 +02:00
pkg/asinfo Remove BGP keepalive logging and add peer tracking 2025-07-27 21:54:58 +02:00
.gitignore Extract database schema to separate SQL file 2025-07-27 22:38:51 +02:00
.golangci.yml Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
CLAUDE.md Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
go.mod Remove routing table and snapshotter packages, update status page 2025-07-28 03:11:36 +02:00
go.sum Remove routing table and snapshotter packages, update status page 2025-07-28 03:11:36 +02:00
Makefile Replace live_routes database table with in-memory routing table 2025-07-27 23:16:19 +02:00