WeKnora/internal/middleware
Mao Meng e3b493e316 fix: use constant-time comparison for API key validation 2026-04-19 21:41:22 +08:00
..
auth.go fix: use constant-time comparison for API key validation 2026-04-19 21:41:22 +08:00
error_handler.go init commit 2025-08-05 15:08:07 +08:00
language.go fix(i18n): use WEKNORA_LANGUAGE env for prompt language fallback instead of hardcoded zh-CN 2026-04-02 12:01:25 +08:00
logger.go feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
recovery.go fix: replace standard log with structured logger in main and recovery middleware 2026-02-06 17:59:15 +08:00
trace.go refactor: Update tenant ID handling across the application 2025-11-25 16:30:54 +08:00