Files
pg-bkup/pkg/storage/storage.go

15 lines
261 B
Go
Raw Normal View History

2024-11-19 04:03:41 +01: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
}