Initial commit

This commit is contained in:
Jonas Kaninda
2024-10-23 02:36:04 +02:00
commit 4a4a7a23ab
12 changed files with 737 additions and 0 deletions

14
pkg/storage.go Normal file
View File

@@ -0,0 +1,14 @@
package pkg
type Storage interface {
Copy(fileName string) error
CopyFrom(fileName string) error
Prune(retentionDays int) error
Name() string
}
type Backend struct {
//Local Path
LocalPath string
//Remote path or Destination path
RemotePath string
}