Commit Graph

1347 Commits (b76a7354c9054065c118a4c959c7204dbf4da57a)
 

Author SHA1 Message Date
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 bcb3667aef Add samonzeweb/godb and mattn/go-sqlite3 to go.mod
2 years ago
Igor Chubin 6c0107bf7a Add temporary support for /:geo-ip-{get,put}
2 years ago
Igor Chubin 9835874422 Update Makefile
2 years ago
Igor Chubin f9e5e0ecf6 Add github.com/stretchr/testify to go.mod
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 2328b29bfe Add CLI parsing
2 years ago
Igor Chubin fb8f0d248b Move cmd/srv.go to ./
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 aef41c375e Fix Makefile
2 years ago
Igor Chubin 30c2c85e54 Move global consts to config
2 years ago
Igor Chubin 28f1fd9aae Move global transport to RequestProcessor
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
Igor Chubin ec264850a4 Add /:stats support
2 years ago
Igor Chubin 8fd712f790 Add cmd/route.go
2 years ago
Igor Chubin 762e0fe8f0 Move RequestProcessor to a struct
2 years ago
Igor Chubin b6687ee037 Add gopkg.in/yaml.v3 to go.mod
2 years ago
Igor Chubin 60e1a3bf68
Merge pull request #809 from evansa/fix-typo
2 years ago
Igor Chubin 2c367d0157 Return err from ProcessRequest instead of panic
2 years ago
Igor Chubin 5b240c590e Print PREFETCH only when prefetching
2 years ago
Igor Chubin d4e96dbf3a Write HTTP errors to log
2 years ago
Igor Chubin d804310586 Add cmd/logsuppress.go
2 years ago
Igor Chubin ff4f258f2d Don't redirect if TLS is already in use
2 years ago
Igor Chubin b2b918637e Use custom servers/timeouts for HTTP/HTTPS
2 years ago
Igor Chubin bef93212c3 Add https support
2 years ago
Igor Chubin 5bb0c4f1fe Move server config to Config struct
2 years ago
Igor Chubin 7d801e3b4d Fix Makefile
2 years ago
Igor Chubin a8e8aa7a52 Activate insternal access logging
2 years ago
Igor Chubin d9afb06ac5 Add cmd/config.go
2 years ago
Igor Chubin c77c1227d5 Add cmd/log.go
2 years ago
Igor Chubin 87c93f1d06 Add go.*
2 years ago
Igor Chubin 66111b1fdd Add Makefile
2 years ago
Evansa 61d1fa1ca7 Add missing 'of' in README.md file
2 years ago
Igor Chubin 8f433de15a Split proxy access and errors logs
2 years ago
Igor Chubin 34684cb264 Add share/translations/gu* (#774)
2 years ago
Igor Chubin 284d3ae992 Merge branch 'master' of https://github.com/chubin/wttr.in
2 years ago
Igor Chubin 0be2669412 Increase expiration interval
2 years ago
Igor Chubin ea1f93282f Move query wrapper to a separate function
2 years ago
Igor Chubin 4e861802c0 Add PROXY_LOG_FILE to globals
2 years ago
Igor Chubin cedf3b58d6 Add proxy queries logging
2 years ago