GoDoxy/internal/watcher
Yuzerion 1a5f3735cf
Feat/fileserver (#60)
* cleanup code for URL type

* fix makefile for trace mode

* refactor, merge Entry, RawEntry and Route into one. 

* Implement fileserver.

* refactor: rename HTTPRoute to ReverseProxyRoute to avoid confusion

* refactor: move metrics logger to middleware package

- fix prometheus metrics for load balanced routes
  - route will now fail when health monitor fail to start

* fix extra output of ls-* commands by defer initializaing stuff, speed up start time

* add test for path traversal attack, small fix on FileServer.Start method

* rename rule.on.bypass to pass

* refactor and fixed map-to-map  deserialization

* updated route loading logic

* schemas: add "add_prefix" option to modify_request middleware


* updated route JSONMarshalling

---------

Co-authored-by: yusing <yusing@6uo.me>
2025-02-06 18:23:10 +08:00
..
events simplify task package implementation 2025-01-01 06:07:32 +08:00
health Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
config_file_watcher.go simplify task package implementation 2025-01-01 06:07:32 +08:00
directory_watcher.go simplify icon caching and homepage item override 2025-01-21 06:16:00 +08:00
docker_watcher.go fix logs not printing correctly, removed unneccessary loggers 2025-01-20 17:42:54 +08:00
file_watcher.go fixed loadbalancer with idlewatcher, fixed reload issue 2024-10-20 09:46:02 +08:00
watcher.go fixed loadbalancer with idlewatcher, fixed reload issue 2024-10-20 09:46:02 +08:00