Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GDriveConfig ¶
type GDriveConfig struct {
Enabled bool
}
type SFTPConfig ¶
type Storage ¶
type Storage interface { Store(ctx context.Context, remoteDir string, file *fs.File) error StoreAll(ctx context.Context, remoteDir string, files []*fs.File) error }
func NewGoogleDriveStorage ¶
func NewGoogleDriveStorage(cfg GDriveConfig) (Storage, error)
func NewS3Storage ¶
func NewSFTPStorage ¶
func NewSFTPStorage(cfg SFTPConfig) (Storage, error)
Click to show internal directories.
Click to hide internal directories.