feat: tipos UploadedFile, StorageConfig, S3Config en infra (issue 0014 fase 1)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package infra
|
||||
|
||||
// S3Config configura la conexion a almacenamiento S3-compatible (AWS S3, MinIO, etc).
|
||||
type S3Config struct {
|
||||
Endpoint string `json:"endpoint"` // URL del servidor (ej: "s3.amazonaws.com", "minio.local:9000")
|
||||
Bucket string `json:"bucket"` // nombre del bucket
|
||||
AccessKey string `json:"access_key"` // access key id
|
||||
SecretKey string `json:"secret_key"` // secret access key
|
||||
Region string `json:"region"` // region (ej: "us-east-1")
|
||||
UseSSL bool `json:"use_ssl"` // si true, usa https
|
||||
}
|
||||
Reference in New Issue
Block a user