update
This commit is contained in:
@@ -6,6 +6,7 @@ type Config struct {
|
||||
rest.RestConf
|
||||
Database DatabaseConfig
|
||||
S3 S3Config
|
||||
JWT JWTConfig
|
||||
}
|
||||
|
||||
type DatabaseConfig struct {
|
||||
@@ -20,3 +21,9 @@ type S3Config struct {
|
||||
Endpoint string `json:",optional"` // Optional: for S3-compatible services
|
||||
PresignedURLExpiration int64 `json:",default=3600"` // Default 1 hour
|
||||
}
|
||||
|
||||
type JWTConfig struct {
|
||||
Secret string
|
||||
Issuer string
|
||||
ExpiresIn int64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user