release: v0.6.1

This commit is contained in:
Davidson Gomes committed 2026-03-25 12:40:16 -03:00
commit 877eef7f07
118 files changed
+46315

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package storage_interfaces
import "context"
// MediaStorage defines the contract for storing and retrieving media files
type MediaStorage interface {
// Store saves the media data and returns a public URL to access it
Store(ctx context.Context, data []byte, fileName string, contentType string) (string, error)
// Delete removes the stored media
Delete(ctx context.Context, fileName string) error
// GetURL returns the public URL for accessing the media
GetURL(ctx context.Context, fileName string) (string, error)
}