GoDoxy/internal
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
..
api Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
autocert fix deserialization 2025-01-29 11:49:28 +08:00
common api: move prometheus handler inside api handler /v1/metrics 2025-02-01 02:09:43 +08:00
config Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
docker Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
entrypoint Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
error Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
homepage Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
logging fixed some tests 2025-01-29 09:40:37 +08:00
metrics fix prometheus metrics gone after route changes 2024-12-18 00:54:04 +08:00
net Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
notif Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
route Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
task fix serialization, added benchmark tests, updated next release docs 2025-01-26 15:08:10 +08:00
utils Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
watcher Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
list-icons.go Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
setup.go update readme 2025-01-31 03:33:20 +08:00