Commit Graph

23 Commits

Author SHA1 Message Date
SuperKali
22cb6bee2f Improve mirror selection logic in Closest with full-server fallback and enhanced logging 2025-02-22 15:54:46 +03:00
Tyler
259978fff2 [feature] Improve speed of GetValue, clear cache on server change
- Clears cache on server state change (prevents no servers being available)
- Improves speed of GetValue using generated getters
- Moves maxminddb items into db package
- Moves util.go into util package
- Updates dependencies
2024-01-22 21:47:03 -05:00
Tyler
e28122245b Initial release of version checks
Resolves version check issues, adds more information,
adds in Rule system to exclude hosts, upgrades to Go 1.20
2023-04-01 20:31:16 -04:00
Tyler
ee2b80a7df WIP: Version checks 2023-01-07 10:15:08 -05:00
Tyler
5ab22152e0 Bugfixes and more logging 2022-10-17 20:04:22 -04:00
Tyler
cdbb0180fb Remove redundant else 2022-10-03 01:40:11 -04:00
Tyler
4799ab7ede Fix golint issues 2022-10-03 01:39:02 -04:00
Tyler
dc75eac5b1 Add support for ASN exclusions/inclusions
ASN exclusions will let us block certain ASNs from
accessing specific mirrors, as some countries have blocks
on specific ISPs.
2022-10-02 22:04:08 -04:00
Tyler
caa0fb43e4 Resolve issues with checks, forced http detection 2022-08-15 02:37:51 -04:00
Tyler
e7236b13de Massive refactoring, struct cleanup, supporting more features
Features:
- Protocol lists (http, https), managed by http responses
- Working TLS Checks
- Root certificate parsing for TLS checks
- Moving configuration into a Config struct, no more direct viper access
2022-08-15 02:16:22 -04:00
Tyler
3f71aced93 Improve test coverage and documentation 2022-08-14 03:42:49 -04:00
Tyler
290e5575cc Initial testing implementation of checks 2022-08-06 16:19:12 -04:00
Tyler
9caa391601 Resolve issue with returning a lower number of servers, add auth to reload 2022-04-02 14:35:46 -04:00
Tyler
e5434a9a7b Add mirror status endpoint, timestamp on last activity 2022-04-02 04:50:12 -04:00
Tyler
a571832239 Add support for region paths 2022-04-01 00:04:27 -04:00
Tyler
20ae76ff06 Fix distance sorting, add env variable for local IP to test 2022-03-31 22:43:18 -04:00
Tyler
aa8a187bda Mimic existing mirrors endpoint, add geoip 2022-03-31 22:04:19 -04:00
Tyler
6c52d1a5b2 Rewrite to add weighting and caching 2022-03-31 00:57:21 -04:00
Tyler
516390b17d Cleanup status checks, debugging 2022-01-11 01:10:36 -05:00
Tyler
e4a14fb9fd Make adding servers async, checks after starting http service to avoid delays, add prom metrics 2022-01-11 01:05:20 -05:00
Tyler
9ecda3832f More cleanup and patches (specifically for servers), add support for download url mapping 2022-01-10 00:11:15 -05:00
Tyler
e6d3782450 A bit of cleanup and documentation 2022-01-09 23:53:23 -05:00
Tyler
0415041917 Initial commit 2022-01-09 23:47:40 -05:00