lolly/go.mod
xfy c95f474539 feat(variable): 新增变量系统支持
新增 internal/variable 包,提供 Nginx 风格的变量展开功能:
- 支持 $remote_addr、$host、$uri、$args 等 30+ 内置变量
- 使用 sync.Pool 优化 VariableContext 分配
- 支持 set_response_info 存储响应状态信息

添加 github.com/google/uuid 依赖用于请求 ID 生成。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 11:36:49 +08:00

28 lines
786 B
Modula-2

module rua.plus/lolly
go 1.26.1
require (
github.com/andybalholm/brotli v1.2.0
github.com/fasthttp/router v1.5.4
github.com/google/uuid v1.6.0
github.com/klauspost/compress v1.18.2
github.com/quic-go/quic-go v0.59.0
github.com/rs/zerolog v1.35.0
github.com/valyala/fasthttp v1.69.0
golang.org/x/crypto v0.49.0
gopkg.in/yaml.v3 v3.0.1
)
require (
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/quic-go/qpack v0.6.0 // indirect
github.com/savsgio/gotils v0.0.0-20240704082632-aef3928b8a38 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
golang.org/x/net v0.51.0 // indirect
golang.org/x/sys v0.42.0 // indirect
golang.org/x/text v0.35.0 // indirect
)