summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-29 02:43:00 -0600
committerJeff Carr <[email protected]>2023-12-29 02:43:00 -0600
commita3dd21aef045f2038911585a238acac65884d314 (patch)
treef409f95c924dde1ab3e8147f54f3bc43dbc23eef /structs.go
parent5d32baf06e71f5a2e06dede60936e6bcacfea2c9 (diff)
move to go.wit.com/gui/gadgets
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/structs.go b/structs.go
index a75c518..7b30611 100644
--- a/structs.go
+++ b/structs.go
@@ -5,7 +5,7 @@ import (
"net"
"time"
"go.wit.com/gui"
- "go.wit.com/control-panel-dns/cloudflare"
+ "go.wit.com/gui/gadgets"
"github.com/miekg/dns"
)
@@ -24,8 +24,8 @@ type Host struct {
artificialSleep float64 `default:"0.7"` // artificial sleep on startup
artificialS string `default:"abc"` // artificial sleep on startup
- ttl *cloudflare.Duration
- dnsTtl *cloudflare.Duration
+ ttl *gadgets.Duration
+ dnsTtl *gadgets.Duration
dnsSleep time.Duration
localSleep time.Duration
@@ -75,7 +75,7 @@ type Host struct {
dbProc *gui.Node // button for setting proc debugging on
digStatus *digStatus
- statusIPv6 *cloudflare.OneLiner
+ statusIPv6 *gadgets.OneLiner
digStatusButton *gui.Node
hostnameStatus *hostnameStatus