Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type AzureBlobFile ¶
type AzureBlobFile struct {
// contains filtered or unexported fields
}
func NewAzureBlobFile ¶
func NewAzureBlobFile(blobURL string) (*AzureBlobFile, error)
type FileManager ¶
type FileManager interface { Download(ctx context.Context, f *os.File) error Upload(ctx context.Context, f *os.File) error }
FileManager is a unified interface for downloading and uploading files from various storage providers.
func NewFileManager ¶
func NewFileManager(filePath string) (FileManager, error)
type GCSStorageFile ¶
type GCSStorageFile struct {
// contains filtered or unexported fields
}
func NewGCSStorageFile ¶
func NewGCSStorageFile(filePath string) (*GCSStorageFile, error)
type SystemFile ¶
type SystemFile struct {
// contains filtered or unexported fields
}
func NewSystemFile ¶
func NewSystemFile(filePath string) *SystemFile
Click to show internal directories.
Click to hide internal directories.