sneak 691710bc7c Add /api/v1/ip/<ip> endpoint for IP to AS lookups
- Add handleIPLookup handler that uses GetASInfoForIP
- Create writeJSONError and writeJSONSuccess helper functions
- Refactor all JSON error responses to use the helpers
- Add GetASInfoForIP to Store interface
- Add mock implementation for tests
- Fix all linter warnings
2025-07-28 03:31:53 +02:00
S
Description
No description provided
MIT
38 MiB
Languages
Go 86.4%
HTML 10.2%
Shell 2.3%
Dockerfile 0.9%
Makefile 0.2%