storage

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExportPath added in v1.1.0

func IsExportPath(path string) bool

IsExportPath checks if the given path contains the metadata file indicating it's a complete export path.

Types

type Storage

type Storage interface {
	Upload([]byte, string) error
	Download(string) ([]byte, error)
	ListObjects(prefix string) ([]string, error)
	GetLatestZipFile() (string, error)
}

func NewGoogleDriveStorage added in v1.1.1

func NewGoogleDriveStorage(credentialsFile string, folderId string) (Storage, error)

func NewLocalStorage

func NewLocalStorage(path string) Storage

func NewS3Storage

func NewS3Storage(bucket, region string) Storage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL