routewatch/internal/database
sneak f8b7d3b773 Unify IP lookup response structure and add PTR lookups
- Always return consistent JSON structure with query and results array
- Add PTR field to IPInfo for reverse DNS records
- Support comma-separated IPs and hostnames in single query
- Do PTR lookup for all IPs (direct, resolved from hostname, or listed)
- Remove trailing dots from PTR records
2025-12-27 15:56:10 +07:00
..
database_test.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
database.go Add IP information API with background WHOIS fetcher 2025-12-27 15:47:35 +07:00
interface.go Add IP information API with background WHOIS fetcher 2025-12-27 15:47:35 +07:00
models.go Unify IP lookup response structure and add PTR lookups 2025-12-27 15:56:10 +07:00
schema.sql Add IP information API with background WHOIS fetcher 2025-12-27 15:47:35 +07:00
slowquery.go Reduce slow query threshold from 50ms to 25ms 2025-07-29 04:20:43 +02:00
utils.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00