20 lines
269 B
Go
20 lines
269 B
Go
package store
|
|
|
|
import (
|
|
"github.com/mehdioa/nlog"
|
|
"time"
|
|
)
|
|
|
|
type Store struct {
|
|
TargetPath []string
|
|
SourcePath []string
|
|
GracePeriod time.Duration
|
|
Logger *nlog.Logger
|
|
}
|
|
|
|
func NewStore(Logger *nlog.Logger) *Store{
|
|
store := &Store{Logger: Logger}
|
|
|
|
return store
|
|
}
|