feat: implement user profile retrieval with roles and permissions caching

This commit is contained in:
Tran Anh Tuan
2026-05-12 14:36:50 +07:00
parent e81a248a61
commit 902caa222f
17 changed files with 671 additions and 19 deletions

View File

@@ -16,8 +16,8 @@ type AdminConfig struct {
}
type JWTConfig struct {
SecretKey string
ExpirationHours int
SecretKey string `mapstructure:"secretkey"`
ExpirationHours int `mapstructure:"expirehours"`
}
type DatabaseConfig struct {