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
43 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 87%
HTML 10%
Shell 2%
Dockerfile 0.8%
Makefile 0.2%