Versions in this module Expand all Collapse all v0 v0.0.4 Dec 17, 2023 v0.0.3 Dec 17, 2023 v0.0.2 Dec 17, 2023 v0.0.1 Dec 14, 2023 Changes in this version + type GDriveConfig struct + Enabled bool + type S3Config struct + Bucket string + Enabled bool + type SFTPConfig struct + Enabled bool + Password string + Port int + RemoteDir string + Username string + type Storage interface + Store func(ctx context.Context, file *fs.File) error + StoreAll func(ctx context.Context, files []*fs.File) error + func NewGoogleDriveStorage(cfg GDriveConfig) (Storage, error) + func NewS3Storage(cfg S3Config) (Storage, error) + func NewSFTPStorage(cfg SFTPConfig) (Storage, error)