Go to file
sneak 3338e92785 Add JSON validation middleware to ensure valid API responses
- Created JSONValidationMiddleware that validates all JSON responses
- Ensures that even on timeout or internal errors, a valid JSON error response is returned
- Applied to all API endpoints including /status.json
- Prevents client-side JSON parse errors when server encounters issues
2025-07-29 04:13:01 +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 JSON validation middleware to ensure valid API responses 2025-07-29 04:13:01 +02:00
pkg/asinfo Remove BGP keepalive logging and add peer tracking 2025-07-27 21:54:58 +02:00
.gitignore Add log.txt to .gitignore 2025-07-28 18:13:07 +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
log.txt Add JSON validation middleware to ensure valid API responses 2025-07-29 04:13:01 +02:00
Makefile Fix concurrent map write panic in timeout middleware 2025-07-28 21:54:58 +02:00