feat: stubs s3_upload, s3_download, s3_presign_url (issue 0014 fase 4)

This commit is contained in:
2026-04-18 17:17:19 +02:00
parent 55998e36ad
commit 6185e8cbd0
6 changed files with 317 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package infra
import (
"fmt"
"io"
)
// S3Upload sube data a un bucket S3-compatible bajo la key dada, con el
// Content-Type indicado.
//
// STUB: la implementacion real requiere github.com/aws/aws-sdk-go-v2 (S3 client +
// credentials provider). Ver el .md para el codigo completo a habilitar cuando se
// añada la dependencia.
func S3Upload(cfg S3Config, key string, data io.Reader, contentType string) error {
_ = cfg
_ = key
_ = data
_ = contentType
return fmt.Errorf("s3_upload: not implemented (requiere github.com/aws/aws-sdk-go-v2)")
}