yao/service
Max 19c2d6b547 Implement dynamic route resolution using rewrite rules
- Introduce a new `RewriteRule` type and associated functions for managing URL rewrite rules in `service/static.go`.
- Add `GetRewriteRules` and `ResolveRoute` functions to facilitate the retrieval and application of rewrite rules.
- Update the `sui/api/run.go` to utilize the new route resolver for handling dynamic routes when the config file is not found.
- Define `RouteResolver` in `sui/core/interfaces.go` to allow for dynamic route resolution across the application.
2026-02-13 23:44:28 +08:00
..
fs [add] sui file server (dev) 2023-11-22 21:02:48 +08:00
dynamic.go Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
dynamic_test.go Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
guards.go Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
gzip.go optimize the SUI compiler & add http server gzip support 2024-07-07 15:29:50 +08:00
middleware.go Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
service.go Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
service_test.go Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
static.go Implement dynamic route resolution using rewrite rules 2026-02-13 23:44:28 +08:00
watch.go Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
watch_test.go fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00