Commit Graph

29 Commits (45900bc565fb6c9e9ef1a5f99c545d5a734a311f)

Author SHA1 Message Date
Igor Chubin 45900bc565 Prepend function name when doing logging in readFromCacheDB
2 years ago
Igor Chubin c9fc3aa74a Rename Location to Address in geo/ip
2 years ago
Igor Chubin 0e2e39774e Use db-based location cache by default
2 years ago
Igor Chubin c398d9204d Implement location resolution interface
2 years ago
Igor Chubin 04f064460c Fix linter findings for: funlen, nestif, gocognit, revive, cyclop
2 years ago
Igor Chubin 635ac451c0 Fix linter findings for: goerr113
2 years ago
Igor Chubin 173b501a2d Fix linter findings for: forbidigo, funlen, forcetypeassert, stylecheck
2 years ago
Igor Chubin aa3600a011 Fix linter checks
2 years ago
Igor Chubin aec889e65e Add internal/util/files.go
2 years ago
Igor Chubin 53b074af93 Add internal/geo/location/
2 years ago
Igor Chubin 1bcdd45f34 Add geoloc cache converter
2 years ago
Igor Chubin caecca05cf Add Nominatim configuration
2 years ago
Igor Chubin 2ce4c28c34 Add Nominatim queries resolution initial support
2 years ago
Igor Chubin b8a7991cb6 Switch to GeoIP Cache DB
2 years ago
Igor Chubin 4855adeaf6 Add support for geoip cache db writing
2 years ago
Igor Chubin a27541a25b Add support for geoip cache db reading
2 years ago
Igor Chubin 4599029329 Ignore local queries in stats
2 years ago
Igor Chubin 307476764a Add internal/util/yaml.go
2 years ago
Igor Chubin b54ba36643 Add geoip cache converter
2 years ago
Igor Chubin 6c0107bf7a Add temporary support for /:geo-ip-{get,put}
2 years ago
Igor Chubin 3765dcbfbf Count number of queries with known IPs
2 years ago
Igor Chubin 074b8b6ec8 Add GeoIP info cache access
2 years ago
Igor Chubin a6f2844c67 Suppress log if needed
2 years ago
Igor Chubin 5d86d36b7e Add config file parsing/dumping
2 years ago
Igor Chubin 12df32b07c Split rest of srv into packages
2 years ago
Igor Chubin 0d42c23d5b Move stats to a separate package
2 years ago
Igor Chubin 30c2c85e54 Move global consts to config
2 years ago
Igor Chubin 7b8c6665e8 Move config to separate package
2 years ago
Igor Chubin f27bf2d5b3 Move routing to separate module
2 years ago