first commit
This commit is contained in:
commit
32d1cf26d6
7 changed files with 174 additions and 0 deletions
19
store/store.go
Normal file
19
store/store.go
Normal file
|
@ -0,0 +1,19 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue