Commit graph

9 commits

Author SHA1 Message Date
Igor Chubin
c398d9204d Implement location resolution interface 2022-12-18 15:44:20 +01:00
Igor Chubin
04f064460c Fix linter findings for: funlen, nestif, gocognit, revive, cyclop 2022-12-17 20:49:48 +01:00
Igor Chubin
173b501a2d Fix linter findings for: forbidigo, funlen, forcetypeassert, stylecheck 2022-12-11 14:50:06 +01:00
Igor Chubin
aa3600a011 Fix linter checks 2022-12-11 14:28:34 +01:00
Igor Chubin
a27541a25b Add support for geoip cache db reading 2022-12-06 18:52:26 +01:00
Igor Chubin
4599029329 Ignore local queries in stats 2022-12-06 18:03:24 +01:00
Igor Chubin
6c0107bf7a Add temporary support for /:geo-ip-{get,put}
With these queries, the IP resolution cache can be centralized
under the front end server, and its internal format can be changed.
2022-12-04 17:37:22 +01:00
Igor Chubin
3765dcbfbf Count number of queries with known IPs 2022-12-04 16:55:14 +01:00
Igor Chubin
12df32b07c Split rest of srv into packages 2022-12-03 16:08:43 +01:00