Logo
Explore Help
Sign In
xfy/lolly
1
0
Fork 0
You've already forked lolly
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
lolly/internal/middleware
History
xfy 5593a729b8 perf(compression): use bytes operations to avoid string allocation
- Replace strings.ToLower(string(...)) with bytes.ToLower
- Reduces memory allocation in hot path for Accept-Encoding checks

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 15:59:42 +08:00
..
accesslog
test: 迁移基准测试循环到 Go 1.24 b.Loop() API
2026-04-16 13:50:15 +08:00
bodylimit
refactor: modernize code with Go 1.22+ features
2026-04-30 10:37:45 +08:00
compression
perf(compression): use bytes operations to avoid string allocation
2026-04-30 15:59:42 +08:00
errorintercept
docs: 为其余模块添加标准化 godoc 注释
2026-04-20 10:59:53 +08:00
limitrate
refactor: modernize code with Go 1.22+ features
2026-04-30 10:37:45 +08:00
rewrite
refactor: 提取公共逻辑、消除重复代码、加强错误处理
2026-04-28 18:00:48 +08:00
security
refactor: modernize code with Go 1.22+ features
2026-04-30 10:37:45 +08:00
AGENTS.md
docs: 更新 AGENTS.md 文档,新增 benchmark/netutil/scripts 目录
2026-04-07 17:51:31 +08:00
middleware_test.go
Merge branch 'lint-fix' - resolve sendfile.go conflict
2026-04-13 09:26:48 +08:00
middleware.go
refactor: modernize code with Go 1.22+ features
2026-04-30 10:37:45 +08:00
Powered by Gitea Version: 1.23.8 Page: 147ms Template: 15ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API