This website requires JavaScript.
Explore
Help
Register
Sign In
Weknora
/
Enterprise-Knowledge-Base
Watch
1
Star
0
Fork
0
You've already forked Enterprise-Knowledge-Base
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
f183b5c598295beed9a06adb8f60b4c2d2903921
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