diff options
author | Julio Capote <jcapote@gmail.com> | 2022-12-19 03:00:36 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2022-12-19 03:00:36 +0000 |
commit | 3761f85966a554cb750809da21995354fb9f9ceb (patch) | |
tree | 95731280e9afe5b1879e67e3989efd12d1f1613b /config/config.go | |
parent | 326eef243c22a739588cfb74642eb9267d020dee (diff) | |
download | communique-3761f85966a554cb750809da21995354fb9f9ceb.tar.gz |
uncommit
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 10 |
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 } |