diff options
| author | Jeff Carr <[email protected]> | 2023-12-21 17:56:56 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-21 17:56:56 -0600 |
| commit | 73b0cee93320bb5b572881cd1a5ba9d878a4ba3a (patch) | |
| tree | 615e3c84e31ce55ac83399409eb068c979dff2e5 /structs.go | |
| parent | 7409b58ea37becdd7fba7d3da8e1994aa55f7922 (diff) | |
add a DurationSlider()v0.2.2
widgets to adjust timeouts
redo bash curl.sh example
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -5,6 +5,7 @@ import ( "net" "time" "go.wit.com/gui" + "go.wit.com/control-panel-dns/cloudflare" "github.com/miekg/dns" ) @@ -18,11 +19,13 @@ type Host struct { hostnameStatus *gui.Node // is the hostname configured correctly in the OS? // fqdn string // mirrors.kernel.org - dnsTTL int `default:"3"` // Recheck DNS is working every TTL (in seconds) - dnsTTLsleep float64 // sleep between loops +// dnsTTL int `default:"3"` // Recheck DNS is working every TTL (in seconds) +// dnsTTLsleep float64 // sleep between loops artificialSleep float64 `default:"0.7"` // artificial sleep on startup artificialS string `default:"abc"` // artificial sleep on startup + ttl *cloudflare.Duration + dnsTtl *cloudflare.Duration dnsSleep time.Duration localSleep time.Duration |
