summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-07 12:45:01 -0600
committerJeff Carr <[email protected]>2024-01-07 12:45:01 -0600
commit34569cbceefee024051a1831acd7b6a1b0fd57e4 (patch)
tree740383f4802926dbdc2dea888ffc4f35ca37d394 /structs.go
parent6916a6428dc2d2eb7cb8ac18552e3863459894e5 (diff)
main window is pretty cleanv0.5.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 2408dbb..e840a37 100644
--- a/structs.go
+++ b/structs.go
@@ -26,8 +26,10 @@ type Host struct {
statusOS *linuxstatus.LinuxStatus // what the Linux OS sees
digStatus *digStatus // window of the results of DNS lookups
+ // WHEN THESE ARE ALL "WORKING", then everything is good
hostnameStatus *gui.Node // a summary for the user of where things are
- // hostname *gadgets.OneLiner // the hostname grabbed from gadget.linuxStatus
+ DnsAPIstatus *gui.Node // does your DNS API work?
+ APIprovider string
artificialSleep float64 `default:"0.7"` // artificial sleep on startup
artificialS string `default:"abc"` // artificial sleep on startup
@@ -49,7 +51,6 @@ type Host struct {
ipv6s map[string]dns.RR
// DNS stuff
- DnsAPI *gui.Node // what DNS API to use?
DnsStatus *gui.Node // the current state of DNS
DnsSpeed *gui.Node // 'FAST', 'OK', 'SLOW', etc
DnsSpeedActual *gui.Node // the last actual duration