routewatch/internal/database
sneak 3b159454eb Add IP information API with background WHOIS fetcher
- Add /ip and /ip/{addr} JSON endpoints returning comprehensive IP info
- Include ASN, netblock, country code, org name, abuse contact, RIR data
- Extend ASN schema with WHOIS fields (country, org, abuse contact, etc)
- Create background WHOIS fetcher for rate-limited ASN info updates
- Store raw WHOIS responses for debugging and data preservation
- Queue on-demand WHOIS lookups when stale data is requested
- Refactor handleIPInfo to serve all IP endpoints consistently
2025-12-27 15:47:35 +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 Add IP information API with background WHOIS fetcher 2025-12-27 15:47:35 +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