Files
go-storage/pkg/storage.go

15 lines
259 B
Go
Raw Normal View History

2024-10-23 02:36:04 +02:00
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
}