GoDoxy/internal/api/v1
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
..
auth Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
favicon Feat/fileserver (#60) 2025-02-06 18:23:10 +08:00
query refactor and typo fixes 2024-11-02 03:14:47 +08:00
utils api: response error in json instead of html for better rendering flexibility 2025-01-29 11:50:08 +08:00
file.go Cleaned up some validation code, stricter validation 2025-01-26 14:43:48 +08:00
health.go api: added some endpoints for dashboard filter to work 2025-01-20 06:17:18 +08:00
homepage_overrides.go improved homepage config implementation 2025-01-24 05:11:35 +08:00
index.go correcting some behaviors for $DOCKER_HOST, now uses container's private IP instead of localhost 2024-10-11 09:13:38 +08:00
list.go api: fix search icon returning null when no match 2025-02-02 03:31:52 +08:00
mem_logger.go fix log wrapped incorrectly in WebUI, implement log SSR 2025-01-23 00:08:19 +08:00
reload.go fix incorrect reload behaviors, further organize code 2025-01-09 04:26:00 +08:00
stats.go api: cleanup websocket code 2025-01-19 04:33:55 +08:00
version.go correcting some behaviors for $DOCKER_HOST, now uses container's private IP instead of localhost 2024-10-11 09:13:38 +08:00