43205337c1
Update README
continuous-integration/drone/push Build is passing
2022-08-15 02:41:31 -04:00
caa0fb43e4
Resolve issues with checks, forced http detection
continuous-integration/drone/push Build is passing
2022-08-15 02:37:51 -04:00
7f27df70ae
Remove dependency on go.mod/go.sum for ginkgo running
continuous-integration/drone/push Build is failing
2022-08-15 02:17:12 -04:00
e7236b13de
Massive refactoring, struct cleanup, supporting more features
...
continuous-integration/drone/push Build is failing
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
3e7782e5ec
Merge pull request 'Initial testing and improvements of code' ( #1 ) from feature/testing into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #1
2022-08-14 08:03:49 +00:00
2f71e97f2e
Improve readme with proper information and configuration
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-14 04:02:10 -04:00
5ff4aa9fae
go.sum magically removed ginkgo
continuous-integration/drone/push Build is passing
2022-08-14 03:50:11 -04:00
c4bd02485c
Fix tests and add coverage
continuous-integration/drone/push Build is failing
2022-08-14 03:49:28 -04:00
3f71aced93
Improve test coverage and documentation
continuous-integration/drone/push Build is failing
2022-08-14 03:42:49 -04:00
3c5656284c
Fix extra character on cgo environment variable
continuous-integration/drone/push Build is passing
2022-08-06 16:25:05 -04:00
08da75d309
Disable cgo
2022-08-06 16:24:45 -04:00
8ea77adee2
Update go.sum
continuous-integration/drone/push Build is failing
2022-08-06 16:23:50 -04:00
91b99572c2
Ensure ginkgo is installed
continuous-integration/drone/push Build is failing
2022-08-06 16:22:51 -04:00
ffcb068ff5
Initial testing implementation of checks
continuous-integration/drone Build is failing
2022-08-06 16:20:46 -04:00
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
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-04-02 14:35:46 -04:00
Tyler
e5434a9a7b
Add mirror status endpoint, timestamp on last activity
continuous-integration/drone/push Build is passing
2022-04-02 04:50:12 -04:00
2f43f2d934
Strip leading slashes from requests to download map
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-04-02 01:21:42 -04:00
Tyler
a571832239
Add support for region paths
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-04-01 00:04:27 -04:00
Tyler
20ae76ff06
Fix distance sorting, add env variable for local IP to test
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-31 22:43:18 -04:00
Tyler
b4ed1fc1a3
Check redirect path and add trailing slash if necessary
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-31 22:23:51 -04:00
Tyler
aa8a187bda
Mimic existing mirrors endpoint, add geoip
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
2022-03-31 22:04:19 -04:00
Tyler
e06eced768
No more initial status messages = starting does nothing
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-31 01:04:04 -04:00
Tyler
6c52d1a5b2
Rewrite to add weighting and caching
continuous-integration/drone/push Build is passing
2022-03-31 00:57:21 -04:00
13f95ee895
Allow real IP from loopback AND private
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2022-03-30 22:58:15 -04:00
Tyler
99c0137034
Fix redirect handler (again) to use notfound
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 22:16:50 -04:00
Tyler
64551704a3
Use proper methods and fix redirect handler
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 22:08:51 -04:00
Tyler
d2d8e6ecad
I'm an idiot who forgot to flag.Parse()
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 21:44:58 -04:00
Tyler
bb3cea2ce2
Add proper signal checking, support for reload (map only)
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 21:37:47 -04:00
Tyler
8b2d22a93b
Add config path flag for non-docker running
2022-03-30 21:33:35 -04:00
Tyler
c9593a5a0d
Only build docker on tagged releases
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 21:26:04 -04:00
Tyler
cb8b3a084f
Use logrus logger
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2022-03-30 21:18:25 -04:00
Tyler
164964a127
Add step concurrency
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 21:03:12 -04:00
Tyler
be4e9ba7cf
Revert realProto call in http.go as we're doing it properly
continuous-integration/drone/push Build was killed
2022-03-30 21:01:25 -04:00
Tyler
38ea55ccc2
Add chi for middleware, logging, fix x-forwarded headers
continuous-integration/drone/push Build is passing
2022-03-30 21:00:28 -04:00
Tyler
0fdb6911ca
Add proper CMD
continuous-integration/drone/push Build is passing
2022-03-30 20:43:10 -04:00
Tyler
7695d7e916
Fix Dockerfile
continuous-integration/drone/push Build is passing
2022-03-30 20:34:05 -04:00
Tyler
7830955b4f
Disable cgo, add docker support
continuous-integration/drone/push Build is failing
2022-03-30 20:13:51 -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
d75188848a
Add dl_map endpoint
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-01-10 00:15:07 -05:00
Tyler
fb0c46ee34
Rename handlers to reflect proper handler naming
continuous-integration/drone/push Build is passing
2022-01-10 00:13:42 -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
continuous-integration/drone/push Build is passing
2022-01-09 23:53:23 -05:00
Tyler
c98b04f9c1
Update dlrouter path
continuous-integration/drone/push Build is passing
2022-01-09 23:49:13 -05:00
Tyler
0415041917
Initial commit
continuous-integration/drone Build is passing
2022-01-09 23:47:40 -05:00