ipapi/internal/http
sneak 08ca75966e Fix dependency injection and implement proper CIDR checking
- Add http module for proper FX dependency injection
- Fix router to accept state manager parameter
- Implement proper CIDR-based checking for RFC1918 and documentation IPs
- Add reasonable timeouts (30s) for database downloads
- Update tests to download databases to temporary directories
- Add tests for multiple IP lookups and error cases
- All tests passing
2025-07-27 18:44:53 +02:00
..
module.go Fix dependency injection and implement proper CIDR checking 2025-07-27 18:44:53 +02:00
router_test.go Fix dependency injection and implement proper CIDR checking 2025-07-27 18:44:53 +02:00
router.go Fix dependency injection and implement proper CIDR checking 2025-07-27 18:44:53 +02:00
server_test.go Implement IP API daemon with GeoIP database support 2025-07-27 18:15:38 +02:00
server.go Implement IP API daemon with GeoIP database support 2025-07-27 18:15:38 +02:00