- 统一八进制权限格式为 Go 1.13+ 风格 (0o644/0o755) - 调整 Target 结构体字段顺序优化内存对齐 - 合并相邻的全局变量声明 - 删除多余空行 - 更新 Makefile 使用 gofumpt 替代 goimports Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
扩展 API: set_uri, set_uri_args, get_headers, set_header, clear_header, get_body_data, read_body 在 coroutine.SetupSandbox() 中统一注册 ngx.req/resp/var/ctx/log/socket API Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 为 LuaEngine/LuaContext/LuaCoroutine 添加命名说明注释 - 为 Phase 常量添加文档注释 - 规范 import 排序顺序 - 处理 Write 返回值避免 lint 警告 - 修复文件末尾换行符 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 基于 gopher-lua 实现类似 OpenResty 的脚本嵌入能力 - LuaEngine: server 级单 LState + 请求级临时协程 - LuaContext: 请求上下文,变量存储和阶段管理 - LuaCoroutine: 沙箱隔离,Yield/Resume 循环,执行超时 - CodeCache: 字节码缓存,LRU 淘汰 + TTL 过期 - 新增 testify 用于测试断言 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>