GoDoxy/internal/watcher/health/monitor
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
..
docker.go fix: docker monitor now uses container status 2025-01-15 09:16:36 +08:00
fileserver.go Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
http.go Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
json.go Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
last_seen.go fix healthcheck last seen 2025-01-03 16:56:18 +08:00
monitor.go Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
raw.go Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00