GoDoxy/internal/docker/idlewatcher
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
..
html refactored http import name, fixed and simplified idlewatcher/idlewaker implementation, dependencies update 2024-10-07 12:45:07 +08:00
types feat: Add optional StartEndpoint support for idle watcher 2025-01-08 11:01:10 +08:00
loading_page.go refactor and typo fixes 2024-11-02 03:14:47 +08:00
waker.go Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
waker_http.go idlewatfcher: add proper Cache-Control Headers to response 2025-01-12 13:16:58 +08:00
waker_stream.go refactor and typo fixes 2024-11-02 03:14:47 +08:00
watcher.go Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00