Files
go-storage/pkg/storage.go
Jonas Kaninda 4a4a7a23ab Initial commit
2024-10-23 02:36:04 +02:00

15 lines
259 B
Go

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
}