aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-12-19 03:00:36 +0000
committerJulio Capote <jcapote@gmail.com>2022-12-19 03:00:36 +0000
commit3761f85966a554cb750809da21995354fb9f9ceb (patch)
tree95731280e9afe5b1879e67e3989efd12d1f1613b /config
parent326eef243c22a739588cfb74642eb9267d020dee (diff)
downloadcommunique-3761f85966a554cb750809da21995354fb9f9ceb.tar.gz
uncommit
Diffstat (limited to '')
-rw-r--r--config/config.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go
index 84024d7..e8e5387 100644
--- a/config/config.go
+++ b/config/config.go
@@ -1,12 +1,16 @@
package config
+import "time"
+
type Config struct {
Domain string
Handlers []Handler
+ DbPath string
}
type Handler struct {
- Name string
- Exec string
- Rpc string
+ Name string
+ Exec string
+ Rpc string
+ Interval time.Duration
}