aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-10-16 17:52:27 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-10-16 17:52:27 +0200
commitf5af422e4dd813b19f475e41e3f79bf2e789382c (patch)
tree2275204ecfa548e994f78f40e4b5da1c03d2bfdf
parent4f1ee7071853fcf7174d98cfb2518c28f3cbfdd8 (diff)
interval config option
-rw-r--r--config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.go b/config.go
index 8a11d58..c8b5686 100644
--- a/config.go
+++ b/config.go
@@ -3,12 +3,14 @@ package main
import (
"encoding/json"
"os"
+ "time"
)
type config struct {
User string
Passwd string
Link string
+ Interval time.Duration
PrefixLen int
Records4 []int
Records6 []int