|
|
77b0eccf4c
|
refactor(app): 将应用逻辑抽取到 internal/app 包
将版本信息和核心运行逻辑从 main.go 移至 internal/app/app.go,
main.go 仅保留 CLI 参数解析和入口调用。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-04-02 14:12:06 +08:00 |
|
|
|
a265597d14
|
feat(config): 实现配置加载模块和 CLI 参数解析
- 添加 internal/config 包,包含配置结构定义、默认值和验证逻辑
- 实现 CLI 参数解析 (-c/--config, -v, --generate-config)
- 添加 yaml.v3 依赖用于配置文件解析
- 简化 plan.md 中的配置测试示例
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 14:07:08 +08:00 |
|
|
|
3fb259419b
|
docs(plan): 格式化开发计划文档
- 调整列表格式和缩进
- 移除各阶段提交信息模板(冗余)
- 简化项目目录结构描述
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-04-02 13:26:55 +08:00 |
|
|
|
0301061a52
|
chore: 添加配置文件到 gitignore
- lolly.yaml
- config.yaml
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-04-02 13:26:49 +08:00 |
|
|
|
56c6ba3731
|
chore(build): 添加 Makefile 构建脚本和程序入口
- Makefile: 跨平台构建、测试、代码质量检查命令
- main.go: 程序入口,支持版本信息注入
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-04-02 13:23:54 +08:00 |
|
|
|
bdb774510f
|
docs(plan): refine development plan with detailed implementation
- Add middleware framework as Phase 2 prerequisite
- Move basic logging system to Phase 2 for debugging support
- Add TLS security defaults (disable TLSv1.0/1.1, secure ciphers)
- Expand security headers (CSP, HSTS, Referrer-Policy, Permissions-Policy)
- Add cache lock mechanism to prevent cache stampede
- Detail performance optimization (sendfile, goroutine pool, buffer pool)
- Update dependency graph
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-04-02 13:16:22 +08:00 |
|
|
|
9cae5ad8cf
|
chore(init): initialize project with nginx documentation
- Add Go module initialization (go 1.26)
- Add comprehensive NGINX documentation covering:
- Overview, installation, HTTP core module
- Proxy/load balancing, SSL/TLS, URL rewrite
- Compression/caching, logging/monitoring
- Security, TCP/UDP stream, mail proxy
- Performance tuning, Git commit guide
- Add standard Go .gitignore
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-04-02 11:45:53 +08:00 |
|