Logo
Explore Help
Register Sign In
Weknora/Enterprise-Knowledge-Base
1
0
Fork 0
You've already forked Enterprise-Knowledge-Base
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
0bf55dd8f7d8a58e9723bbbed5fed57c688e4924
Enterprise-Knowledge-Base/internal/middleware
T
History
DJ 8b160bba15 fix: use typed context key instead of string literal- Add UserContextKey constant to types package- Replace bare string 'user' with types.UserContextKey in auth middleware- Update user service to use UserContextKey for context value retrieval- Fixes staticcheck SA1029 warningThis prevents potential context key collisions.
2026-01-21 19:12:24 +08:00
..
auth.go
fix: use typed context key instead of string literal- Add UserContextKey constant to types package- Replace bare string 'user' with types.UserContextKey in auth middleware- Update user service to use UserContextKey for context value retrieval- Fixes staticcheck SA1029 warningThis prevents potential context key collisions.
2026-01-21 19:12:24 +08:00
error_handler.go
init commit
2025-08-05 15:08:07 +08:00
logger.go
refactor: Sanitize log inputs across various handlers to enhance security
2025-11-25 23:33:34 +08:00
recovery.go
init commit
2025-08-05 15:08:07 +08:00
trace.go
refactor: Update tenant ID handling across the application
2025-11-25 16:30:54 +08:00
Powered by Gitea Version: 1.26.2 Page: 133ms Template: 11ms
Auto
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