- ssl: TLS 配置管理、证书加载、SNI 支持、现代安全默认值 - security/auth: HTTP Basic Auth (bcrypt/argon2id 密码哈希) - security/ratelimit: 令牌桶限流、连接数限制 - security/access: IP 访问控制 (CIDR allow/deny) - security/headers: 安全响应头 (X-Frame-Options, CSP, HSTS 等) Phase 4 完成 Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
594 B
Modula-2
22 lines
594 B
Modula-2
module rua.plus/lolly
|
|
|
|
go 1.26.1
|
|
|
|
require (
|
|
github.com/fasthttp/router v1.5.4
|
|
github.com/rs/zerolog v1.35.0
|
|
github.com/valyala/fasthttp v1.69.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/andybalholm/brotli v1.2.0 // indirect
|
|
github.com/klauspost/compress v1.18.2 // indirect
|
|
github.com/mattn/go-colorable v0.1.14 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/savsgio/gotils v0.0.0-20240704082632-aef3928b8a38 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
golang.org/x/crypto v0.49.0 // indirect
|
|
golang.org/x/sys v0.42.0 // indirect
|
|
)
|