aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-02 00:38:31 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-02 00:38:31 +0000
commita69f9cfc6ba6ff332d1e2d8303020d49443ca8cb (patch)
treea487561c677a1c54fecae70fa5f46294449bd1b4 /config
parentbce250b0e75812c4f61b925d898c320d6ef11c5c (diff)
downloadcommunique-a69f9cfc6ba6ff332d1e2d8303020d49443ca8cb.tar.gz
working dedup
Diffstat (limited to '')
-rw-r--r--config/config.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/config.go b/config/config.go
index e8e5387..3c6cdde 100644
--- a/config/config.go
+++ b/config/config.go
@@ -9,8 +9,9 @@ type Config struct {
}
type Handler struct {
- Name string
- Exec string
- Rpc string
- Interval time.Duration
+ Name string
+ Exec string
+ Rpc string
+ DedupWindow time.Duration
+ Interval time.Duration
}