chore: integrate external storage module

This commit is contained in:
Jonas Kaninda
2024-10-23 04:08:39 +02:00
parent 49d3ffe6b2
commit 5242bf1b48
9 changed files with 11 additions and 527 deletions

View File

@@ -1,14 +0,0 @@
package storage
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
}