Skip to content

Commit

Permalink
Merge pull request itpp-labs#24 from yelizariev/sync-6
Browse files Browse the repository at this point in the history
Sync 6
  • Loading branch information
Ivan Yelizariev committed Nov 29, 2019
2 parents 8ab8e98 + f12b7e5 commit 5fa7923
Show file tree
Hide file tree
Showing 12 changed files with 866 additions and 327 deletions.
6 changes: 6 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ type UrlPattern struct {
Anchor string `json:"anchor"`
}

type PatternLink struct {
Pattern string `json:"pattern"`
Link string `json:"link"`
}

type Repo struct {
Url string `json:"url"`
MsBetweenPolls int `json:"ms-between-poll"`
Expand All @@ -32,6 +37,7 @@ type Repo struct {
ExcludeDotFiles bool `json:"exclude-dot-files"`
EnablePollUpdates *bool `json:"enable-poll-updates"`
EnablePushUpdates *bool `json:"enable-push-updates"`
PatternLinks []PatternLink `json:"pattern-links"`
}

// Used for interpreting the config value for fields that use *bool. If a value
Expand Down
Loading

0 comments on commit 5fa7923

Please sign in to comment.