xfy
9144dcbb06
refactor(server): 提取初始化逻辑到独立函数
- 将 Start() 中的 goroutine pool 初始化提取为 initGoroutinePool()
- 将 file cache 初始化提取为 initFileCache()
- 将 Lua engine 初始化提取为 initLuaEngine()
- 将 error page manager 初始化提取为 initErrorPageManager()
- 添加 init.go 存放提取的初始化函数
- 添加 init_test.go 测试初始化函数
- 添加 testutil.go 提供测试 mock 和工具
- 添加 lua_integration_test.go Lua 中间件集成测试
- 添加 start_integration_test.go Start() 集成测试
- 添加 server_test.go nil tlsManager 测试
- 添加 lua/mock_engine.go Lua 引擎 mock 实现
- 添加 lua/api_balancer_test.go Lua balancer API 测试
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 17:38:49 +08:00
..
2026-04-13 16:50:14 +08:00
2026-04-13 16:15:31 +08:00
2026-04-13 16:15:31 +08:00
2026-04-13 16:40:50 +08:00
2026-04-13 16:50:14 +08:00
2026-04-13 16:15:31 +08:00
2026-04-13 16:15:31 +08:00
2026-04-13 09:26:48 +08:00
2026-04-13 16:50:14 +08:00
2026-04-13 16:15:31 +08:00
2026-04-13 17:38:49 +08:00
2026-04-13 16:20:01 +08:00
2026-04-13 13:15:39 +08:00
2026-04-13 09:26:48 +08:00
2026-04-13 16:50:14 +08:00
2026-04-13 16:15:31 +08:00
2026-04-13 17:38:49 +08:00
2026-04-13 16:15:31 +08:00
2026-04-13 13:15:39 +08:00
2026-04-13 16:20:20 +08:00
2026-04-13 13:15:20 +08:00
2026-04-13 13:15:39 +08:00
2026-04-13 16:15:31 +08:00
2026-04-13 13:15:39 +08:00