murphy/store/store.go
2021-11-30 14:58:33 +01:00

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
}