aboutsummaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
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
}